示例#1
0
func GetChannelCount(conf uint32) uint32 {
	return uint32(C.al_get_channel_count(C.ALLEGRO_CHANNEL_CONF(conf)))
}
示例#2
0
文件: audio.go 项目: beoran/algo
// Gets the amount of available channels in a channel configguration
func (self ChannelConf) ChannelCount() uint {
	return uint(C.al_get_channel_count(self.toC()))
}