Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

app_avb_lc Channels swapped #1

Open
marcohabeck opened this issue Oct 22, 2014 · 0 comments
Open

app_avb_lc Channels swapped #1

marcohabeck opened this issue Oct 22, 2014 · 0 comments

Comments

@marcohabeck
Copy link

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);
            }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant