Example #1
0
func (v *Voice) GetChannels() uint32 {
	return uint32(C.al_get_voice_channels((*C.ALLEGRO_VOICE)(unsafe.Pointer(v))))
}
Example #2
0
File: audio.go Project: beoran/algo
// Returns the channel configuration of the voice
func (self *Voice) Channels() ChannelConf {
	return ChannelConf(C.al_get_voice_channels(self.handle))
}