Skip to content

Commit

Permalink
AudioUnitEffectProcessor: Rename m_manager to m_pManager
Browse files Browse the repository at this point in the history
  • Loading branch information
fwcd committed Nov 30, 2024
1 parent 430aa00 commit 7e42345
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/effects/backends/audiounit/audiouniteffectprocessor.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class AudioUnitEffectProcessor final : public EffectProcessorImpl<AudioUnitEffec
const GroupFeatureState& groupFeatures) override;

private:
AudioUnitManagerPointer m_manager;
AudioUnitManagerPointer m_pManager;

QList<EngineEffectParameterPointer> m_parameters;
QList<AudioUnitParameterValue> m_lastValues;
Expand Down
8 changes: 4 additions & 4 deletions src/effects/backends/audiounit/audiouniteffectprocessor.mm
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@

AudioUnitEffectProcessor::AudioUnitEffectProcessor(
AVAudioUnitComponent* _Nullable component)
: m_manager(AudioUnitManager::create(component)) {
: m_pManager(AudioUnitManager::create(component)) {
}

void AudioUnitEffectProcessor::loadEngineEffectParameters(
Expand All @@ -157,7 +157,7 @@
const mixxx::EngineParameters& engineParameters,
const EffectEnableState,
const GroupFeatureState&) {
AudioUnit _Nullable audioUnit = m_manager->getAudioUnit();
AudioUnit _Nullable audioUnit = m_pManager->getAudioUnit();
if (!audioUnit) {
qWarning()
<< "Cannot process channel before Audio Unit is instantiated";
Expand All @@ -175,7 +175,7 @@
}

void AudioUnitEffectProcessor::syncParameters() {
AudioUnit _Nullable audioUnit = m_manager->getAudioUnit();
AudioUnit _Nullable audioUnit = m_pManager->getAudioUnit();
DEBUG_ASSERT(audioUnit != nil);

m_lastValues.reserve(m_parameters.size());
Expand Down Expand Up @@ -210,7 +210,7 @@

void AudioUnitEffectProcessor::syncStreamFormat(
const mixxx::EngineParameters& parameters) {
AudioUnit _Nullable audioUnit = m_manager->getAudioUnit();
AudioUnit _Nullable audioUnit = m_pManager->getAudioUnit();
DEBUG_ASSERT(audioUnit != nil);

if (parameters.sampleRate() != m_lastSampleRate ||
Expand Down

0 comments on commit 7e42345

Please sign in to comment.