Example #1
0
func (s *SampleInstance) GetLength() uint32 {
	return uint32(C.al_get_sample_instance_length((*C.ALLEGRO_SAMPLE_INSTANCE)(unsafe.Pointer(s))))
}
Example #2
0
File: audio.go Project: beoran/algo
// Returns the length of the sample instance
func (self *SampleInstance) Length() uint {
	return uint(C.al_get_sample_instance_length(self.handle))
}