From 65dc5d1363158c52db31be727f10a8ef036bff77 Mon Sep 17 00:00:00 2001 From: redblue-pkt Date: Thu, 4 Oct 2018 01:00:45 +0200 Subject: [PATCH] try to fix slowly close internet radio/music player Origin commit data ------------------ Branch: master Commit: https://github.com/neutrino-images/ni-libstb-hal/commit/fd335a563f08a853b5420081e39a69510979a6c8 Author: redblue-pkt Date: 2018-10-04 (Thu, 04 Oct 2018) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- libarmbox/audio.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libarmbox/audio.cpp b/libarmbox/audio.cpp index c5d315c..d1170f9 100644 --- a/libarmbox/audio.cpp +++ b/libarmbox/audio.cpp @@ -314,6 +314,7 @@ int cAudio::WriteClip(unsigned char *buffer, int size) int cAudio::StopClip() { lt_debug("%s\n", __FUNCTION__); +#if 0 if (clipfd < 0) { lt_info("%s: clipfd not yet opened\n", __FUNCTION__); return -1; @@ -325,6 +326,7 @@ int cAudio::StopClip() mixer_fd = -1; } setVolume(volume, volume); +#endif return 0; };