示例#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
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))
}