summaryrefslogtreecommitdiffstats
path: root/audio/out
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-10-25 17:42:11 +0100
committerwm4 <wm4@nowhere>2015-10-25 20:09:38 +0100
commitc21c26472c918947c4cc060ab06bd2a470db3068 (patch)
tree07cd5a7cc5d6ada8c0afc54272b2e9f4e397607e /audio/out
parentd6e7190836118542b1dba8f0f2d2f1d9821d10dd (diff)
downloadmpv-c21c26472c918947c4cc060ab06bd2a470db3068.tar.bz2
mpv-c21c26472c918947c4cc060ab06bd2a470db3068.tar.xz
ao_alsa: log format probing in verbose mode
And also remove a redundant log message. (We can tell from the following probe or error message whether or not the format test is successful.)
Diffstat (limited to 'audio/out')
-rw-r--r--audio/out/ao_alsa.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/audio/out/ao_alsa.c b/audio/out/ao_alsa.c
index 1990108ac3..d1afab2389 100644
--- a/audio/out/ao_alsa.c
+++ b/audio/out/ao_alsa.c
@@ -483,11 +483,10 @@ static int init_device(struct ao *ao, bool second_try)
af_get_best_sample_formats(ao->format, try_formats);
for (int n = 0; try_formats[n]; n++) {
p->alsa_fmt = find_alsa_format(try_formats[n]);
- MP_DBG(ao, "Trying format %s\n", af_fmt_to_str(try_formats[n]));
+ MP_VERBOSE(ao, "trying format %s\n", af_fmt_to_str(try_formats[n]));
if (snd_pcm_hw_params_test_format(p->alsa, alsa_hwparams, p->alsa_fmt) >= 0) {
ao->format = try_formats[n];
found_format = true;
- MP_DBG(ao, "Selectedformat %s\n", af_fmt_to_str(ao->format));
break;
}
}