func stopPlaying() error { if playing { playing = false C.stop() } return nil }
func stopPlaying() error { if playing { playing = false if err := C.stop(); err != nil { return errors.New(C.GoString(err)) } } return nil }
func term1() { // C.stop(C.int(cdd)) C.lockDoor(C.int(cdd)) C.eject(C.int(cdd)) }
func term() { // C.stop(C.int(cdd)) }
func ClearAudioBuffer() { mutex.Lock() C.stop() mutex.Unlock() }
func Stop() { C.stop() }