Clearer dump

This commit is contained in:
Abramo Bagnara 2000-08-24 17:58:36 +00:00
parent 4740b37b37
commit 606b7ae5fb

View file

@ -610,6 +610,11 @@ static void snd_pcm_plug_dump(void *private, FILE *fp)
snd_pcm_plug_t *plug = (snd_pcm_plug_t*) private;
snd_pcm_t *handle = plug->handle;
snd_pcm_plugin_t *plugin;
if (!plug->first) {
fprintf(fp, "Plug PCM -> ");
snd_pcm_dump(plug->slave, fp);
return;
}
fprintf(fp, "Plug PCM\n");
if (handle->valid_setup) {
fprintf(fp, "\nIts setup is:\n");