Revert "try to fix slowly close internet radio/music player"

This reverts commit 42dc38f7c9.
This commit is contained in:
max_10
2019-02-27 12:24:05 +01:00
committed by Thilo Graf
parent 84c333354e
commit 23ee0a2ae6

View File

@@ -314,7 +314,7 @@ int cAudio::WriteClip(unsigned char *buffer, int size)
int cAudio::StopClip() int cAudio::StopClip()
{ {
hal_debug("%s\n", __FUNCTION__); hal_debug("%s\n", __FUNCTION__);
#if 0
if (clipfd < 0) { if (clipfd < 0) {
hal_info("%s: clipfd not yet opened\n", __FUNCTION__); hal_info("%s: clipfd not yet opened\n", __FUNCTION__);
return -1; return -1;
@@ -326,7 +326,6 @@ int cAudio::StopClip()
mixer_fd = -1; mixer_fd = -1;
} }
setVolume(volume, volume); setVolume(volume, volume);
#endif
return 0; return 0;
}; };