aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ConfigParser.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/ConfigParser.cpp b/src/ConfigParser.cpp
index ee7d69f..1839316 100644
--- a/src/ConfigParser.cpp
+++ b/src/ConfigParser.cpp
@@ -830,7 +830,12 @@ void parse_ptree(
ua.xpadAppType = 16;
}
- component->audio.uaTypes.push_back(ua);
+ if (component->isPacketComponent(ensemble->subchannels)) {
+ component->packet.uaTypes.push_back(ua);
+ }
+ else {
+ component->audio.uaTypes.push_back(ua);
+ }
}
}
else {