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