From ba9e8ff6cfc7de6fadce914b356b6e4b398d5ab3 Mon Sep 17 00:00:00 2001 From: christian mueller Date: Mon, 6 Feb 2012 15:57:11 +0100 Subject: * worked in feedback from Thomas Goering towards integration tests * corrected startup sequence and modified the testplugin so that the startup sequences match --- PluginRoutingInterfaceAsync/src/RoutingSenderAsync.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'PluginRoutingInterfaceAsync') diff --git a/PluginRoutingInterfaceAsync/src/RoutingSenderAsync.cpp b/PluginRoutingInterfaceAsync/src/RoutingSenderAsync.cpp index d51e943..7527f7d 100644 --- a/PluginRoutingInterfaceAsync/src/RoutingSenderAsync.cpp +++ b/PluginRoutingInterfaceAsync/src/RoutingSenderAsync.cpp @@ -774,6 +774,8 @@ std::vector AsyncRoutingSender::createSinkTable() item.sinkID = i; //take fixed ids to make thins easy item.sinkClassID = 1; item.volume = 0; + item.available.availability = A_AVAILABLE; + item.available.availabilityReason = AR_UNKNOWN; item.listSoundProperties.push_back(sp); item.visible = true; item.listConnectionFormats.push_back(CF_ANALOG); @@ -793,10 +795,13 @@ std::vector AsyncRoutingSender::createSourceTable() temp << i; item.domainID = 0; //we cannot know this when the table is created ! item.name = "mySource" + temp.str(); + item.sourceState = SS_OFF; item.sourceID = i; //take fixed ids to make thins easy item.sourceClassID = 1; item.volume = 0; item.visible = true; + item.available.availability = A_AVAILABLE; + item.available.availabilityReason = AR_UNKNOWN; item.listConnectionFormats.push_back(CF_ANALOG); table.push_back(item); } -- cgit v1.2.1