try to fix slowly close internet radio/music player

This commit is contained in:
redblue-pkt
2018-10-04 01:00:45 +02:00
committed by Thilo Graf
parent 5c733a1ac1
commit 42dc38f7c9

View File

@@ -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;
};