Пример #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()
}
Пример #2
0
func alSourceStopv(s []Source) {
	C.alSourceStopv(C.ALsizei(len(s)), (*C.ALuint)(unsafe.Pointer(&s[0])))
}
Пример #3
0
func (source Source) Stopv(sources []Source) {
	C.alSourceStopv(C.ALsizei(len(sources)), (*C.ALuint)(&sources[0]))
}
Пример #4
0
Файл: al.go Проект: Miaque/mojo
// StopSources stops the sources.
func StopSources(source ...Source) {
	C.alSourceStopv(C.ALsizei(len(source)), (*C.ALuint)(unsafe.Pointer(&source[0])))
}