From d94a52115c4975e310c3af4746bb2ec1cba54978 Mon Sep 17 00:00:00 2001 From: Chip Audette Date: Fri, 10 Feb 2017 12:16:44 -0500 Subject: [PATCH] AudioStream_F32: remove const on length and fs_Hz --- AudioStream_F32.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AudioStream_F32.h b/AudioStream_F32.h index 46ace05..9a0d5cc 100644 --- a/AudioStream_F32.h +++ b/AudioStream_F32.h @@ -32,8 +32,8 @@ typedef struct audio_block_f32_struct { #else float32_t data[AUDIO_BLOCK_SAMPLES]; // AUDIO_BLOCK_SAMPLES is 128, from AudioStream.h #endif - const int length = AUDIO_BLOCK_SAMPLES; // AUDIO_BLOCK_SAMPLES is 128, from AudioStream.h - const float fs_Hz = AUDIO_SAMPLE_RATE; // AUDIO_SAMPLE_RATE is 44117.64706 from AudioStream.h + int length = AUDIO_BLOCK_SAMPLES; // AUDIO_BLOCK_SAMPLES is 128, from AudioStream.h + float fs_Hz = AUDIO_SAMPLE_RATE; // AUDIO_SAMPLE_RATE is 44117.64706 from AudioStream.h } audio_block_f32_t; class AudioConnection_F32