From 84b90467e8e9dcaafaf75738f4bf9840365424b9 Mon Sep 17 00:00:00 2001 From: christian mueller Date: Thu, 9 Feb 2012 12:38:18 +0100 Subject: * adoption of RoutinInterfaceAsync to testHMI * adoption of projekttypes.h to HMI * comment out wrapper dlt messages because too much pollution --- PluginRoutingInterfaceAsync/src/RoutingSenderAsync.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'PluginRoutingInterfaceAsync') 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 AsyncRoutingSender::createSinkTable() am_SoundProperty_s sp; sp.type = SP_BASS; sp.value = 0; + + std::vector 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 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); -- cgit v1.2.1