Beispiel #1
0
func (a *Stream) GetChannels() uint32 {
	return uint32(C.al_get_audio_stream_channels((*C.ALLEGRO_AUDIO_STREAM)(unsafe.Pointer(a))))
}
Beispiel #2
0
// Returns the channel configuration of the audio stream
func (self *AudioStream) Channels() ChannelConf {
	return ChannelConf(C.al_get_audio_stream_channels(self.handle))
}