Esempio n. 1
0
File: audio.go Progetto: beoran/algo
// Detaches the audio stream from it's player
func (self *AudioStream) Detach() bool {
	return cb2b(C.al_detach_sample_instance(self.handle))
}
Esempio n. 2
0
func (s *SampleInstance) Detach() bool {
	return bool(C.al_detach_sample_instance((*C.ALLEGRO_SAMPLE_INSTANCE)(unsafe.Pointer(s))))
}
Esempio n. 3
0
File: audio.go Progetto: beoran/algo
// Detaches the sample instance from it's player
func (self *SampleInstance) Detach() bool {
	return cb2b(C.al_detach_sample_instance(self.handle))
}