Example #1
0
func stopPlaying() error {
	if playing {
		playing = false
		C.stop()
	}
	return nil
}
Example #2
0
func stopPlaying() error {
	if playing {
		playing = false
		if err := C.stop(); err != nil {
			return errors.New(C.GoString(err))
		}
	}
	return nil
}
Example #3
0
func term1() {
	//
	C.stop(C.int(cdd))
	C.lockDoor(C.int(cdd))
	C.eject(C.int(cdd))
}
Example #4
0
func term() {
	//
	C.stop(C.int(cdd))
}
Example #5
0
func ClearAudioBuffer() {
	mutex.Lock()
	C.stop()
	mutex.Unlock()
}
Example #6
0
func Stop() {
	C.stop()
}