Example #1
0
func (s *Sample) GetDepth() uint32 {
	return uint32(C.al_get_sample_depth((*C.ALLEGRO_SAMPLE)(unsafe.Pointer(s))))
}
Example #2
0
File: audio.go Project: beoran/algo
// Returns the depth of the sample
func (self *Sample) Depth() uint {
	return uint(C.al_get_sample_depth(self.handle))
}