コード例 #1
0
ファイル: audio.go プロジェクト: beoran/algo
// Detaches the audio stream from it's player
func (self *AudioStream) Detach() bool {
	return cb2b(C.al_detach_sample_instance(self.handle))
}
コード例 #2
0
ファイル: audio.go プロジェクト: b1naryth1ef/allegro
func (s *SampleInstance) Detach() bool {
	return bool(C.al_detach_sample_instance((*C.ALLEGRO_SAMPLE_INSTANCE)(unsafe.Pointer(s))))
}
コード例 #3
0
ファイル: audio.go プロジェクト: beoran/algo
// Detaches the sample instance from it's player
func (self *SampleInstance) Detach() bool {
	return cb2b(C.al_detach_sample_instance(self.handle))
}