Exemplo n.º 1
0
func (s *SampleInstance) GetTime() float32 {
	return float32(C.al_get_sample_instance_time((*C.ALLEGRO_SAMPLE_INSTANCE)(unsafe.Pointer(s))))
}
Exemplo n.º 2
0
Arquivo: audio.go Projeto: beoran/algo
// Returns the of the sample instance
func (self *SampleInstance) Time() float32 {
	return float32(C.al_get_sample_instance_time(self.handle))
}