From a574ebded4013f925e8e339219dda6345a579a9c Mon Sep 17 00:00:00 2001 From: Johannes Lorenz Date: Fri, 20 Jun 2025 16:47:05 +0200 Subject: [PATCH] Style improvements --- include/AudioEngine.h | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/include/AudioEngine.h b/include/AudioEngine.h index 04f08bb08..2b36326ca 100644 --- a/include/AudioEngine.h +++ b/include/AudioEngine.h @@ -167,10 +167,8 @@ public: bool startNow ); void storeAudioDevice(); void restoreAudioDevice(); - inline AudioDevice * audioDev() - { - return m_audioDev; - } + inline AudioDevice * audioDev() { return m_audioDev; } + inline const AudioDevice* audioDev() const { return m_audioDev; } bool captureDeviceAvailable() const; @@ -356,11 +354,6 @@ private: AudioDevice * tryAudioDevices(); MidiClient * tryMidiClients(); - const AudioDevice* audioDev() const - { - return m_audioDev; - } - void renderStageNoteSetup(); void renderStageInstruments(); void renderStageEffects();