From 453f61b8da42a121b71f53207b9072761d19f2b4 Mon Sep 17 00:00:00 2001 From: BPanther Date: Tue, 5 Mar 2019 07:27:13 +0100 Subject: [PATCH] small fix for vusolo4k --- libarmbox/audio.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libarmbox/audio.cpp b/libarmbox/audio.cpp index 48e3d6b..a524440 100644 --- a/libarmbox/audio.cpp +++ b/libarmbox/audio.cpp @@ -319,6 +319,9 @@ int cAudio::StopClip() hal_info("%s: clipfd not yet opened\n", __FUNCTION__); return -1; } +#if BOXMODEL_VUSOLO4K + ioctl(clipfd, SNDCTL_DSP_RESET); +#endif close(clipfd); clipfd = -1; if (mixer_fd > -1) {