Beispiel #1
0
func GenSource() (source *Source) {
	source = new(Source)
	source.handle = C.ALuint(C.walGenSource())
	return source
}
Beispiel #2
0
// NewSource() creates a single source.
// Convenience function, see NewSources().
func NewSource() Source {
	return Source(C.walGenSource())
}