From 9821a03061d6909ba4389c706e8d0cf32ab68dc1 Mon Sep 17 00:00:00 2001 From: svenhoefer Date: Sun, 27 Oct 2019 10:40:32 +0100 Subject: [PATCH] - fix SNDCTL_DSP_RESET handling for bre2ze4k and h7 Signed-off-by: GetAway --- libarmbox/audio.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libarmbox/audio.cpp b/libarmbox/audio.cpp index 91bc5de..3e2e952 100644 --- a/libarmbox/audio.cpp +++ b/libarmbox/audio.cpp @@ -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