From: Abramo Bagnara Date: Thu, 24 Aug 2000 17:58:36 +0000 (+0000) Subject: Clearer dump X-Git-Tag: v1.0.3~1169 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=606b7ae5fb8fe282ab31bf525847bcbd9d225d3f;p=alsa-lib.git Clearer dump --- diff --git a/src/pcm/pcm_plug.c b/src/pcm/pcm_plug.c index d65e63c2..862220b7 100644 --- a/src/pcm/pcm_plug.c +++ b/src/pcm/pcm_plug.c @@ -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");