Exemplo n.º 1
0
func (a *Stream) GetAvailableFragments() uint32 {
	return uint32(C.al_get_available_audio_stream_fragments((*C.ALLEGRO_AUDIO_STREAM)(unsafe.Pointer(a))))
}
Exemplo n.º 2
0
Arquivo: audio.go Projeto: beoran/algo
// Returns the amount of available fragments of the audio stream
func (self *AudioStream) AvailableFragments() float32 {
	return float32(C.al_get_available_audio_stream_fragments(self.handle))
}