mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 23:13:16 +02:00
- fix SNDCTL_DSP_RESET handling for bre2ze4k and h7
Signed-off-by: GetAway <get-away@t-online.de>
This commit is contained in:
@@ -246,7 +246,7 @@ int cAudio::PrepareClipPlay(int ch, int srate, int bits, int little_endian)
|
|||||||
perror("SNDCTL_DSP_CHANNELS");
|
perror("SNDCTL_DSP_CHANNELS");
|
||||||
if (ioctl(clipfd, SNDCTL_DSP_SPEED, &srate))
|
if (ioctl(clipfd, SNDCTL_DSP_SPEED, &srate))
|
||||||
perror("SNDCTL_DSP_SPEED");
|
perror("SNDCTL_DSP_SPEED");
|
||||||
#if !BOXMODEL_HD51
|
#if !BOXMODEL_HD51 && !BOXMODEL_BRE2ZE4K && !BOXMODEL_H7
|
||||||
if (ioctl(clipfd, SNDCTL_DSP_RESET))
|
if (ioctl(clipfd, SNDCTL_DSP_RESET))
|
||||||
perror("SNDCTL_DSP_RESET");
|
perror("SNDCTL_DSP_RESET");
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user