mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
Clearer dump
This commit is contained in:
parent
4740b37b37
commit
606b7ae5fb
1 changed files with 5 additions and 0 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue