Example #1
0
func (a *Stream) GetDepth() uint32 {
	return uint32(C.al_get_audio_stream_depth((*C.ALLEGRO_AUDIO_STREAM)(unsafe.Pointer(a))))
}
Example #2
0
File: audio.go Project: beoran/algo
// Returns the depth of the audio stream
func (self *AudioStream) Depth() AudioDepth {
	return AudioDepth(C.al_get_audio_stream_depth(self.handle))
}