aboutsummaryrefslogtreecommitdiffstats
path: root/alc/backends/alsa.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2021-11-21 20:29:20 -0800
committerChris Robinson <[email protected]>2021-11-21 20:29:20 -0800
commit834800c817b3a7b799fc387b51777d555494f91a (patch)
tree890238834a862bc68fc853efcffdab5141cee282 /alc/backends/alsa.cpp
parent0c99a6b316b7e52c12a25d50550291562430834d (diff)
Downgrade some ERRs to WARNs
Diffstat (limited to 'alc/backends/alsa.cpp')
-rw-r--r--alc/backends/alsa.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/alc/backends/alsa.cpp b/alc/backends/alsa.cpp
index 0ad84692..9c78b6c6 100644
--- a/alc/backends/alsa.cpp
+++ b/alc/backends/alsa.cpp
@@ -750,10 +750,10 @@ bool AlsaPlayback::reset()
|| !mDevice->Flags.test(FrequencyRequest))
{
if(snd_pcm_hw_params_set_rate_resample(mPcmHandle, hp.get(), 0) < 0)
- ERR("Failed to disable ALSA resampler\n");
+ WARN("Failed to disable ALSA resampler\n");
}
else if(snd_pcm_hw_params_set_rate_resample(mPcmHandle, hp.get(), 1) < 0)
- ERR("Failed to enable ALSA resampler\n");
+ WARN("Failed to enable ALSA resampler\n");
CHECK(snd_pcm_hw_params_set_rate_near(mPcmHandle, hp.get(), &rate, nullptr));
/* set period time (implicitly constrains period/buffer parameters) */
if((err=snd_pcm_hw_params_set_period_time_near(mPcmHandle, hp.get(), &periodLen, nullptr)) < 0)