Make channel spectrum members protected, not private.

This commit is contained in:
Jared Boone 2015-08-27 13:51:55 -07:00
parent c7907e948c
commit 23ac04ad56

View File

@ -51,6 +51,12 @@ protected:
void fill_audio_buffer(const buffer_s16_t audio);
volatile bool channel_spectrum_request_update { false };
std::array<complex16_t, 256> channel_spectrum;
uint32_t channel_spectrum_sampling_rate { 0 };
uint32_t channel_filter_pass_frequency { 0 };
uint32_t channel_filter_stop_frequency { 0 };
private:
BlockDecimator<256> channel_spectrum_decimator { 4 };
@ -60,12 +66,6 @@ private:
AudioStatsCollector audio_stats;
AudioStatisticsMessage audio_stats_message;
volatile bool channel_spectrum_request_update { false };
std::array<complex16_t, 256> channel_spectrum;
uint32_t channel_spectrum_sampling_rate { 0 };
uint32_t channel_filter_pass_frequency { 0 };
uint32_t channel_filter_stop_frequency { 0 };
void post_channel_stats_message(const ChannelStatistics statistics);
void post_channel_spectrum_message(const buffer_c16_t data);
void feed_audio_stats(const buffer_s16_t audio);