Beispiel #1
0
func (a *Stream) GetLength() uint32 {
	return uint32(C.al_get_audio_stream_length((*C.ALLEGRO_AUDIO_STREAM)(unsafe.Pointer(a))))
}
Beispiel #2
0
// Returns the length of the audio stream
func (self *AudioStream) Length() uint {
	return uint(C.al_get_audio_stream_length(self.handle))
}