From c4689b53389faffd65559ca8818bac17fb0ba336 Mon Sep 17 00:00:00 2001 From: pio Date: Thu, 12 Sep 2024 08:06:39 +0200 Subject: [PATCH] fix default pan setting --- src/effect_gainStereo_F32.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/effect_gainStereo_F32.h b/src/effect_gainStereo_F32.h index f00091e..0e13d23 100644 --- a/src/effect_gainStereo_F32.h +++ b/src/effect_gainStereo_F32.h @@ -27,8 +27,8 @@ class AudioEffectGainStereo_F32 : public AudioStream_F32 { public: - AudioEffectGainStereo_F32(void) : AudioStream_F32(2, inputQueueArray_f32) { setPan(0.0f);}; - AudioEffectGainStereo_F32(const AudioSettings_F32 &settings) : AudioStream_F32(2, inputQueueArray_f32){setPan(0.0f);}; + AudioEffectGainStereo_F32(void) : AudioStream_F32(2, inputQueueArray_f32) { setPan(0.5f);}; + AudioEffectGainStereo_F32(const AudioSettings_F32 &settings) : AudioStream_F32(2, inputQueueArray_f32){setPan(0.5f);}; void update(void) { audio_block_f32_t *blockL, *blockR; @@ -103,4 +103,4 @@ private: bool phase_flip = false; }; -#endif \ No newline at end of file +#endif