mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
More verbose output when source channels are not defined
This commit is contained in:
parent
631540f2f7
commit
02435abd60
1 changed files with 4 additions and 2 deletions
|
|
@ -615,9 +615,11 @@ static void snd_pcm_route_dump(snd_pcm_t *pcm, snd_output_t *out)
|
|||
for (dst = 0; dst < route->params.ndsts; dst++) {
|
||||
snd_pcm_route_ttable_dst_t *d = &route->params.dsts[dst];
|
||||
unsigned int src;
|
||||
if (d->nsrcs == 0)
|
||||
continue;
|
||||
snd_output_printf(out, "%d <- ", dst);
|
||||
if (d->nsrcs == 0) {
|
||||
snd_output_printf(out, "none\n", dst);
|
||||
continue;
|
||||
}
|
||||
src = 0;
|
||||
while (1) {
|
||||
snd_pcm_route_ttable_src_t *s = &d->srcs[src];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue