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:
vanhofen
2019-10-24 23:20:31 +02:00
parent 98dc14d12b
commit 2c97ff00cd

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