- fix SNDCTL_DSP_RESET handling for bre2ze4k and h7

Signed-off-by: GetAway <get-away@t-online.de>
This commit is contained in:
svenhoefer
2019-10-27 10:40:32 +01:00
committed by GetAway
parent 6e1b833522
commit 9821a03061

View File

@@ -246,7 +246,7 @@ int cAudio::PrepareClipPlay(int ch, int srate, int bits, int little_endian)
perror("SNDCTL_DSP_CHANNELS");
if (ioctl(clipfd, SNDCTL_DSP_SPEED, &srate))
perror("SNDCTL_DSP_SPEED");
#if !BOXMODEL_HD51
#if !BOXMODEL_HD51 && !BOXMODEL_BRE2ZE4K && !BOXMODEL_H7
if (ioctl(clipfd, SNDCTL_DSP_RESET))
perror("SNDCTL_DSP_RESET");
#endif