alsa: when printing warning about bogus data from alsa include snd_pcm_dump()

This commit is contained in:
Lennart Poettering 2009-04-10 01:58:39 +02:00
parent ee6657aa9a
commit 5388b44b9a
5 changed files with 11 additions and 6 deletions

View file

@ -1579,7 +1579,7 @@ pa_source *pa_alsa_source_new(pa_module *m, pa_modargs *ma, const char*driver, p
if (setup_mixer(u, ignore_dB) < 0)
goto fail;
pa_alsa_dump(u->pcm_handle);
pa_alsa_dump(PA_LOG_DEBUG, u->pcm_handle);
if (!(u->thread = pa_thread_new(thread_func, u))) {
pa_log("Failed to create thread.");