Esempio n. 1
0
func (s *SampleInstance) GetDepth() uint32 {
	return uint32(C.al_get_sample_instance_depth((*C.ALLEGRO_SAMPLE_INSTANCE)(unsafe.Pointer(s))))
}
Esempio n. 2
0
File: audio.go Progetto: beoran/algo
// Returns the depth of the sample instance
func (self *SampleInstance) Depth() AudioDepth {
	return AudioDepth(C.al_get_sample_instance_depth(self.handle))
}