コード例 #1
0
ファイル: audio.go プロジェクト: b1naryth1ef/allegro
func (s *SampleInstance) GetAttached() bool {
	return bool(C.al_get_sample_instance_attached((*C.ALLEGRO_SAMPLE_INSTANCE)(unsafe.Pointer(s))))
}
コード例 #2
0
ファイル: audio.go プロジェクト: beoran/algo
// Returns wheter or not the sample instance is attached
func (self *SampleInstance) Attached() bool {
	return cb2b(C.al_get_sample_instance_attached(self.handle))
}