示例#1
0
func (a *Stream) GetAttached() bool {
	return bool(C.al_get_audio_stream_attached((*C.ALLEGRO_AUDIO_STREAM)(unsafe.Pointer(a))))
}
示例#2
0
文件: audio.go 项目: beoran/algo
// Returns wheter or not the audio stream is attached
func (self *AudioStream) Attached() bool {
	return cb2b(C.al_get_audio_stream_attached(self.handle))
}