summaryrefslogtreecommitdiffstats
path: root/stream/ai_alsa1x.c
diff options
context:
space:
mode:
Diffstat (limited to 'stream/ai_alsa1x.c')
-rw-r--r--stream/ai_alsa1x.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/stream/ai_alsa1x.c b/stream/ai_alsa1x.c
index 8360c88100..c1a7199c71 100644
--- a/stream/ai_alsa1x.c
+++ b/stream/ai_alsa1x.c
@@ -118,7 +118,7 @@ int ai_alsa_setup(audio_in_t *ai)
return -1;
}
- if (mp_msg_test_log(ai->log, MSGL_V)) {
+ if (mp_msg_test(ai->log, MSGL_V)) {
snd_pcm_dump(ai->alsa.handle, ai->alsa.log);
}
@@ -181,7 +181,7 @@ int ai_alsa_xrun(audio_in_t *ai)
timersub(&now, &tstamp, &diff);
MP_ERR(ai, "ALSA xrun!!! (at least %.3f ms long)\n",
diff.tv_sec * 1000 + diff.tv_usec / 1000.0);
- if (mp_msg_test_log(ai->log, MSGL_V)) {
+ if (mp_msg_test(ai->log, MSGL_V)) {
MP_ERR(ai, "ALSA Status:\n");
snd_pcm_status_dump(status, ai->alsa.log);
}