mirror of
https://github.com/cookiengineer/audacity
synced 2025-09-24 16:01:16 +02:00
Revert "Bug 2508 - Macros: Export2 handles channels > 2 incorrectly"
This reverts commit 2ecc98225f93e8c3fc85ce61991d0f33364e8b8e. This is the one I was supposed to revert.
This commit is contained in:
parent
76460c73da
commit
52bde299aa
@ -487,8 +487,7 @@ bool Exporter::Process(unsigned numChannels,
|
|||||||
mActualName = mFilename;
|
mActualName = mFilename;
|
||||||
|
|
||||||
int i = -1;
|
int i = -1;
|
||||||
for (const auto &pPlugin : mPlugins)
|
for (const auto &pPlugin : mPlugins) {
|
||||||
{
|
|
||||||
++i;
|
++i;
|
||||||
for (int j = 0; j < pPlugin->GetFormatCount(); j++)
|
for (int j = 0; j < pPlugin->GetFormatCount(); j++)
|
||||||
{
|
{
|
||||||
@ -496,26 +495,7 @@ bool Exporter::Process(unsigned numChannels,
|
|||||||
{
|
{
|
||||||
mFormat = i;
|
mFormat = i;
|
||||||
mSubFormat = j;
|
mSubFormat = j;
|
||||||
|
return CheckFilename() && ExportTracks();
|
||||||
// Gather track information
|
|
||||||
if (!ExamineTracks())
|
|
||||||
{
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Check for down mixing
|
|
||||||
if (!CheckMix(false))
|
|
||||||
{
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Ensure filename doesn't interfere with project files.
|
|
||||||
if (!CheckFilename())
|
|
||||||
{
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
return ExportTracks();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user