mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-30 17:00:57 +02:00
azbox: adapt cAudio to latest drivers
Origin commit data
------------------
Branch: master
Commit: c31a1919c7
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2013-09-22 (Sun, 22 Sep 2013)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -50,6 +50,7 @@ void cAudio::openDevice(void)
|
|||||||
void cAudio::closeDevice(void)
|
void cAudio::closeDevice(void)
|
||||||
{
|
{
|
||||||
lt_debug("%s\n", __func__);
|
lt_debug("%s\n", __func__);
|
||||||
|
ioctl(fd, AUDIO_CONTINUE); /* enigma2 also does CONTINUE before close... */
|
||||||
if (fd >= 0)
|
if (fd >= 0)
|
||||||
close(fd);
|
close(fd);
|
||||||
fd = -1;
|
fd = -1;
|
||||||
@@ -128,7 +129,9 @@ int cAudio::Start(void)
|
|||||||
int cAudio::Stop(void)
|
int cAudio::Stop(void)
|
||||||
{
|
{
|
||||||
lt_debug("%s\n", __func__);
|
lt_debug("%s\n", __func__);
|
||||||
return ioctl(fd, AUDIO_STOP);
|
ioctl(fd, AUDIO_STOP);
|
||||||
|
ioctl(fd, AUDIO_CONTINUE); /* no idea why we have to stop and then continue => enigma2 does it, too */
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool cAudio::Pause(bool /*Pcm*/)
|
bool cAudio::Pause(bool /*Pcm*/)
|
||||||
|
Reference in New Issue
Block a user