示例#1
0
func stopPlaying() error {
	if playing {
		playing = false
		C.stop()
	}
	return nil
}
示例#2
0
func stopPlaying() error {
	if playing {
		playing = false
		if err := C.stop(); err != nil {
			return errors.New(C.GoString(err))
		}
	}
	return nil
}
示例#3
0
文件: imp.go 项目: CaptainSoOmA/Uni
func term1() {
	//
	C.stop(C.int(cdd))
	C.lockDoor(C.int(cdd))
	C.eject(C.int(cdd))
}
示例#4
0
文件: imp.go 项目: CaptainSoOmA/Uni
func term() {
	//
	C.stop(C.int(cdd))
}
示例#5
0
func ClearAudioBuffer() {
	mutex.Lock()
	C.stop()
	mutex.Unlock()
}
示例#6
0
func Stop() {
	C.stop()
}