mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 23:12:44 +02:00
try to fix slowly close internet radio/music player
Origin commit data
------------------
Branch: master
Commit: fd335a563f
Author: redblue-pkt <redblue-pkt@orange.pl>
Date: 2018-10-04 (Thu, 04 Oct 2018)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -314,6 +314,7 @@ int cAudio::WriteClip(unsigned char *buffer, int size)
|
|||||||
int cAudio::StopClip()
|
int cAudio::StopClip()
|
||||||
{
|
{
|
||||||
lt_debug("%s\n", __FUNCTION__);
|
lt_debug("%s\n", __FUNCTION__);
|
||||||
|
#if 0
|
||||||
if (clipfd < 0) {
|
if (clipfd < 0) {
|
||||||
lt_info("%s: clipfd not yet opened\n", __FUNCTION__);
|
lt_info("%s: clipfd not yet opened\n", __FUNCTION__);
|
||||||
return -1;
|
return -1;
|
||||||
@@ -325,6 +326,7 @@ int cAudio::StopClip()
|
|||||||
mixer_fd = -1;
|
mixer_fd = -1;
|
||||||
}
|
}
|
||||||
setVolume(volume, volume);
|
setVolume(volume, volume);
|
||||||
|
#endif
|
||||||
return 0;
|
return 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user