Example #1
0
func (a *Stream) GetPlaying() bool {
	return bool(C.al_get_audio_stream_playing((*C.ALLEGRO_AUDIO_STREAM)(unsafe.Pointer(a))))
}
Example #2
0
File: audio.go Project: beoran/algo
// Returns wheter or not the audio stream is playing
func (self *AudioStream) Playing() bool {
	return cb2b(C.al_get_audio_stream_playing(self.handle))
}