Applying ITABase mode naming refactoring

parent 309e0846
......@@ -23,6 +23,7 @@
#include "ITASoundSamplePoolImpl.h"
#include "PlaybackIDGenerator.h"
#include <ITABaseDefinitions.h>
#include <ITASampleClock.h>
#include <algorithm>
#include <ITAException.h>
......@@ -737,7 +738,7 @@ void ITASoundSamplerImpl::RenderOutputBlock() {
if (playback->iPauseState == 1) {
// Fall: Ausblenden
Fade(pfOutputData + playback->iPlaybackOffset,
playback->iPauseFadeLength, ITA_FADE_OUT | ITA_FADE_LINEAR,
playback->iPauseFadeLength, ITABase::FadingSign::FADE_OUT, ITABase::FadingFunction::LINEAR,
playback->iPauseFadeOffset, iNumSamples);
playback->iPauseFadeOffset += iNumSamples;
}
......@@ -745,7 +746,7 @@ void ITASoundSamplerImpl::RenderOutputBlock() {
if (playback->iPauseState == 3) {
// Fall: Einblenden
Fade(pfOutputData + playback->iPlaybackOffset,
playback->iPauseFadeLength, ITA_FADE_IN | ITA_FADE_LINEAR,
playback->iPauseFadeLength, ITABase::FadingSign::FADE_IN, ITABase::FadingFunction::LINEAR,
playback->iPauseFadeOffset, iNumSamples);
playback->iPauseFadeOffset += iNumSamples;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment