From f9e91b6b42b3b2fa6c458c163ca9e6a0a5fc8562 Mon Sep 17 00:00:00 2001 From: TangoCash Date: Fri, 27 Oct 2017 22:35:02 +0200 Subject: [PATCH] armbox: fix audio playback --- libarmbox/audio.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libarmbox/audio.cpp b/libarmbox/audio.cpp index 36498e4..467f7ef 100644 --- a/libarmbox/audio.cpp +++ b/libarmbox/audio.cpp @@ -226,8 +226,8 @@ int cAudio::PrepareClipPlay(int ch, int srate, int bits, int little_endian) if ((!dsp_dev) || (access(dsp_dev, W_OK))) { if (dsp_dev) lt_info("%s: DSP_DEVICE is set (%s) but cannot be opened," - " fall back to /dev/dsp1\n", __func__, dsp_dev); - dsp_dev = "/dev/dsp1"; + " fall back to /dev/dsp\n", __func__, dsp_dev); + dsp_dev = "/dev/dsp"; } lt_info("%s: dsp_dev %s mix_dev %s\n", __func__, dsp_dev, mix_dev); /* NULL mix_dev is ok */ /* the tdoss dsp driver seems to work only on the second open(). really. */