Exemple #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()
}
Exemple #2
0
func alSourceStopv(s []Source) {
	C.alSourceStopv(C.ALsizei(len(s)), (*C.ALuint)(unsafe.Pointer(&s[0])))
}
Exemple #3
0
func (source Source) Stopv(sources []Source) {
	C.alSourceStopv(C.ALsizei(len(sources)), (*C.ALuint)(&sources[0]))
}
Exemple #4
0
// StopSources stops the sources.
func StopSources(source ...Source) {
	C.alSourceStopv(C.ALsizei(len(source)), (*C.ALuint)(unsafe.Pointer(&source[0])))
}