func GenSources(sources []uint) { n := len(sources) C.walGenSources(C.ALsizei(n), unsafe.Pointer(&sources[0])) }
// NewSources() creates n sources. // Renamed, was GenSources. func NewSources(n int) (sources []Source) { sources = make([]Source, n) C.walGenSources(C.ALsizei(n), unsafe.Pointer(&sources[0])) return }