コード例 #1
0
ファイル: audio.go プロジェクト: b1naryth1ef/allegro
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))
}