Exemplo n.º 1
0
func StopSources(sources ...Source) error {
	if len(sources) == 0 {
		return nil
	}
	C.alSourceStopv(C.ALsizei(C.int(len(sources))), (*C.ALuint)(unsafe.Pointer(&sources[0])))
	return GetError()
}
Exemplo n.º 2
0
func alSourceStopv(s []Source) {
	C.alSourceStopv(C.ALsizei(len(s)), (*C.ALuint)(unsafe.Pointer(&s[0])))
}
Exemplo n.º 3
0
Arquivo: source.go Projeto: nzlov/goal
func (source Source) Stopv(sources []Source) {
	C.alSourceStopv(C.ALsizei(len(sources)), (*C.ALuint)(&sources[0]))
}
Exemplo n.º 4
0
Arquivo: al.go Projeto: Miaque/mojo
// StopSources stops the sources.
func StopSources(source ...Source) {
	C.alSourceStopv(C.ALsizei(len(source)), (*C.ALuint)(unsafe.Pointer(&source[0])))
}