Example #1
0
func (s *SampleInstance) GetChannels() uint32 {
	return uint32(C.al_get_sample_instance_channels((*C.ALLEGRO_SAMPLE_INSTANCE)(unsafe.Pointer(s))))
}
Example #2
0
File: audio.go Project: beoran/algo
// Returns the channel configuration of the sample instance
func (self *SampleInstance) Channels() ChannelConf {
	return ChannelConf(C.al_get_sample_instance_channels(self.handle))
}