Пример #1
0
func (s *Sample) GetChannels() uint32 {
	return uint32(C.al_get_sample_channels((*C.ALLEGRO_SAMPLE)(unsafe.Pointer(s))))
}
Пример #2
0
// returns the amount of channels the sample has
func (self *Sample) Channels() uint {
	return uint(C.al_get_sample_channels(self.handle))
}