Exemple #1
0
func (a *Stream) GetAttached() bool {
	return bool(C.al_get_audio_stream_attached((*C.ALLEGRO_AUDIO_STREAM)(unsafe.Pointer(a))))
}
Exemple #2
0
// Returns wheter or not the audio stream is attached
func (self *AudioStream) Attached() bool {
	return cb2b(C.al_get_audio_stream_attached(self.handle))
}