mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 23:13:16 +02:00
fix no sound after play video
This commit is contained in:
@@ -42,7 +42,7 @@ void cAudio::openDevice(void)
|
|||||||
if ((fd = open(AUDIO_DEVICE, O_RDWR)) < 0)
|
if ((fd = open(AUDIO_DEVICE, O_RDWR)) < 0)
|
||||||
lt_info("openDevice: open failed (%m)\n");
|
lt_info("openDevice: open failed (%m)\n");
|
||||||
fcntl(fd, F_SETFD, FD_CLOEXEC);
|
fcntl(fd, F_SETFD, FD_CLOEXEC);
|
||||||
do_mute(true, false);
|
//do_mute(true, false);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
lt_info("openDevice: already open (fd = %d)\n", fd);
|
lt_info("openDevice: already open (fd = %d)\n", fd);
|
||||||
|
Reference in New Issue
Block a user