예제 #1
0
func (v *Voice) GetChannels() uint32 {
	return uint32(C.al_get_voice_channels((*C.ALLEGRO_VOICE)(unsafe.Pointer(v))))
}
예제 #2
0
파일: audio.go 프로젝트: beoran/algo
// Returns the channel configuration of the voice
func (self *Voice) Channels() ChannelConf {
	return ChannelConf(C.al_get_voice_channels(self.handle))
}