-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
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);
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels