Beispiel #1
0
func (s *Sample) GetLength() uint32 {
	return uint32(C.al_get_sample_length((*C.ALLEGRO_SAMPLE)(unsafe.Pointer(s))))
}
Beispiel #2
0
// Returns the length of the sample
func (self *Sample) Length() uint {
	return uint(C.al_get_sample_length(self.handle))
}