Fix repeat of stem-export of stereo channels
Restoring the export profile state previously added a new Export Processor for each state for each channel to the same route. This fixes silent stem export channels after an initial correct stem export (which saves ExportChannelConfiguration)
This commit is contained in:
parent
84445efe92
commit
40ef5f3b15
@ -385,6 +385,11 @@ RouteExportChannel::create_from_route (std::list<ExportChannelPtr>& result, std:
|
|||||||
void
|
void
|
||||||
RouteExportChannel::create_from_state (std::list<ExportChannelPtr>& result, Session& s, XMLNode* node)
|
RouteExportChannel::create_from_state (std::list<ExportChannelPtr>& result, Session& s, XMLNode* node)
|
||||||
{
|
{
|
||||||
|
uint32_t chn;
|
||||||
|
if (node->get_property ("number", chn) && chn > 1) {
|
||||||
|
/* create_from_route adds ExportChannel for all channels of a given Route */
|
||||||
|
return;
|
||||||
|
}
|
||||||
XMLNode* xml_route = node->child ("Route");
|
XMLNode* xml_route = node->child ("Route");
|
||||||
if (!xml_route) {
|
if (!xml_route) {
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user