Example #1
0
func (s *SampleId) Stop() {
	C.al_stop_sample((*C.ALLEGRO_SAMPLE_ID)(unsafe.Pointer(s)))
}
Example #2
0
File: audio.go Project: beoran/algo
// Stops playing a sample that was started with sample.Play()
func (self *SampleId) Stop() {
	C.al_stop_sample(self.toC())
}