Пример #1
0
func RewindSources(sources ...Source) error {
	if len(sources) == 0 {
		return nil
	}
	C.alSourceRewindv(C.ALsizei(C.int(len(sources))), (*C.ALuint)(unsafe.Pointer(&sources[0])))
	return GetError()
}
Пример #2
0
func alSourceRewindv(s []Source) {
	C.alSourceRewindv(C.ALsizei(len(s)), (*C.ALuint)(unsafe.Pointer(&s[0])))
}
Пример #3
0
func (source Source) Rewindv(sources []Source) {
	C.alSourceRewindv(C.ALsizei(len(sources)), (*C.ALuint)(&sources[0]))
}
Пример #4
0
Файл: al.go Проект: Miaque/mojo
// RewindSources rewinds the sources to their beginning positions.
func RewindSources(source ...Source) {
	C.alSourceRewindv(C.ALsizei(len(source)), (*C.ALuint)(unsafe.Pointer(&source[0])))
}