summaryrefslogtreecommitdiff
path: root/PluginRoutingInterfaceAsync
diff options
context:
space:
mode:
authorchristian mueller <christian.ei.mueller@bmw.de>2012-02-09 12:38:18 +0100
committerchristian mueller <christian.ei.mueller@bmw.de>2012-02-09 12:38:18 +0100
commit84b90467e8e9dcaafaf75738f4bf9840365424b9 (patch)
tree7e79c272a8de465df63f742f0e894c462d0e61ae /PluginRoutingInterfaceAsync
parent8d3ad577f57e0a45ef9c0e2f1ce99957445f0eb8 (diff)
downloadaudiomanager-84b90467e8e9dcaafaf75738f4bf9840365424b9.tar.gz
* adoption of RoutinInterfaceAsync to testHMI
* adoption of projekttypes.h to HMI * comment out wrapper dlt messages because too much pollution
Diffstat (limited to 'PluginRoutingInterfaceAsync')
-rw-r--r--PluginRoutingInterfaceAsync/src/RoutingSenderAsync.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/PluginRoutingInterfaceAsync/src/RoutingSenderAsync.cpp b/PluginRoutingInterfaceAsync/src/RoutingSenderAsync.cpp
index 7594260..0b0b027 100644
--- a/PluginRoutingInterfaceAsync/src/RoutingSenderAsync.cpp
+++ b/PluginRoutingInterfaceAsync/src/RoutingSenderAsync.cpp
@@ -765,6 +765,16 @@ std::vector<am_Sink_s> AsyncRoutingSender::createSinkTable()
am_SoundProperty_s sp;
sp.type = SP_BASS;
sp.value = 0;
+
+ std::vector<am_MainSoundProperty_s> listMainSoundProperties;
+ am_MainSoundProperty_s msp;
+ msp.type=MSP_BASS;
+ msp.value=5;
+ listMainSoundProperties.push_back(msp);
+ msp.type=MSP_MID;
+ listMainSoundProperties.push_back(msp);
+ msp.type=MSP_TREBLE;
+ listMainSoundProperties.push_back(msp);
for (int16_t i = 0; i <= 10; i++)
{
std::stringstream temp;
@@ -777,9 +787,11 @@ std::vector<am_Sink_s> AsyncRoutingSender::createSinkTable()
item.available.availability = A_AVAILABLE;
item.available.availabilityReason = AR_UNKNOWN;
item.listSoundProperties.push_back(sp);
+ item.listMainSoundProperties=listMainSoundProperties;
item.visible = true;
item.listConnectionFormats.push_back(CF_ANALOG);
item.muteState=MS_MUTED;
+ item.mainVolume=0;
table.push_back(item);
}
return (table);