Improved: The Configuration Editor now saves most of its state (window positions, open files, etc.) when closing and restores it when run again.
Fixed: The GUI for the Copy command was behaving incorrectly when channels were selected by number instead of name. Fixed: When the processing caused delay (e.g. via Delay command), the remaining audio was not output when the input signal became silence (e.g. pausing a music player), but only when the silence ended. Fixed: The checks for missing registry values in Configuration Editor/Configurator should now be sufficient to reanimate E-APO after an OS upgrade. Also the Configurator did not launch when accepting the question in the Configuration Editor with UAC enabled.
This commit is contained in:
1 parent
0895d84055
commit
a1be4cc70f
32 files changed
+1111
-205
No files matched your search
@@ -365,33 +365,6 @@ void FilterEngine::watchRegistryKey(const std::wstring& key)
|
||||
#pragma AVRT_CODE_BEGIN
|
||||
void FilterEngine::process(float *output, float *input, unsigned frameCount)
|
||||
{
|
||||
bool inputSilent = true;
|
||||
|
||||
for (unsigned i = 0; i < frameCount * realChannelCount; i++)
|
||||
{
|
||||
if(input[i] != 0)
|
||||
{
|
||||
inputSilent = false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if(inputSilent)
|
||||
{
|
||||
if(lastInputWasSilent)
|
||||
{
|
||||
//Avoid processing cost if silence would be output anyway
|
||||
if(input != output)
|
||||
memset(output, 0, frameCount * outputChannelCount * sizeof(float));
|
||||
|
||||
return;
|
||||
}
|
||||
else
|
||||
lastInputWasSilent = true;
|
||||
}
|
||||
else
|
||||
lastInputWasSilent = false;
|
||||
|
||||
if(currentConfig->isEmpty() && nextConfig == NULL)
|
||||
{
|
||||
// avoid (de-)interleaving cost if no processing will happen anyway
|
||||
|
||||
Reference in new issue
Block a user