diff options
Diffstat (limited to 'PluginRoutingInterfaceAsync/src/RoutingSenderAsync.cpp')
-rw-r--r-- | PluginRoutingInterfaceAsync/src/RoutingSenderAsync.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
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<am_Sink_s> 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<am_Source_s> 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); } |