mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 23:12:44 +02:00
fix SNDCTL_DSP_RESET handling for bre2ze4k and h7
Origin commit data
------------------
Branch: master
Commit: 413a45ff61
Author: vanhofen <vanhofen@gmx.de>
Date: 2019-10-24 (Thu, 24 Oct 2019)
Origin message was:
------------------
- fix SNDCTL_DSP_RESET handling for bre2ze4k and h7
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
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