Exemplo n.º 1
0
func (s *Sample) GetLength() uint32 {
	return uint32(C.al_get_sample_length((*C.ALLEGRO_SAMPLE)(unsafe.Pointer(s))))
}
Exemplo n.º 2
0
Arquivo: audio.go Projeto: beoran/algo
// Returns the length of the sample
func (self *Sample) Length() uint {
	return uint(C.al_get_sample_length(self.handle))
}