Skip to content

app_avb_lc Channels swapped #1

@marcohabeck

Description

@marcohabeck

The channels are swapped for select channel.

push button one LED 3 & 4 mapped stream channel 7 & 8
push button three LED 7 & 8 mapped stream channel 3 & 4

Cause is an error in the code main.xc 357-367.

map [j] = map [j]% AVB_NUM_MEDIA_OUTPUTS; so can not work.

The rest of 6 and 7 is 0 to 1. which maps the channel on 7 & 8th

This code works.

if (map[j] != -1)
                {
                  map[j] -= 2;

                  if (map[j] < 0)
                  {
                    map[j] = map[j]+AVB_NUM_MEDIA_OUTPUTS;
                  }
                }
              }
              avb.set_sink_map(i, map, len);
            }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions