Exemple #1
0
func (a *Stream) GetFragments() uint32 {
	return uint32(C.al_get_audio_stream_fragments((*C.ALLEGRO_AUDIO_STREAM)(unsafe.Pointer(a))))
}
Exemple #2
0
// Returns the amount of fragments of the audio stream
func (self *AudioStream) Fragments() float32 {
	return float32(C.al_get_audio_stream_fragments(self.handle))
}