generated from lks/eframe_template_android
Remove unused code
This commit is contained in:
parent
f3216e2d8d
commit
8978be49bd
@ -8,8 +8,6 @@ pub mod debug_plot;
|
|||||||
use debug_plot::DebugPlots;
|
use debug_plot::DebugPlots;
|
||||||
mod waterfall;
|
mod waterfall;
|
||||||
use waterfall::Waterfall;
|
use waterfall::Waterfall;
|
||||||
//mod aud1o;
|
|
||||||
//use aud1o::Audio;
|
|
||||||
mod fft;
|
mod fft;
|
||||||
use fft::Fft;
|
use fft::Fft;
|
||||||
pub mod turbo_colormap;
|
pub mod turbo_colormap;
|
||||||
@ -23,7 +21,6 @@ pub struct TemplateApp {
|
|||||||
value: f32,
|
value: f32,
|
||||||
/// Behind an `Arc<Mutex<…>>` so we can pass it to [`egui::PaintCallback`] and paint later.
|
/// Behind an `Arc<Mutex<…>>` so we can pass it to [`egui::PaintCallback`] and paint later.
|
||||||
waterfall: Arc<Mutex<Waterfall>>,
|
waterfall: Arc<Mutex<Waterfall>>,
|
||||||
//_stream: Audio,
|
|
||||||
_fft: Fft,
|
_fft: Fft,
|
||||||
_backends: backend::Backends,
|
_backends: backend::Backends,
|
||||||
_selected_backend: usize,
|
_selected_backend: usize,
|
||||||
@ -41,9 +38,7 @@ impl TemplateApp {
|
|||||||
|
|
||||||
let plots = DebugPlots::new();
|
let plots = DebugPlots::new();
|
||||||
|
|
||||||
//let (stream, rx) = AudioFFT::new(FFT_SIZE, plots.get_sender()).unwrap();
|
|
||||||
let (fft, rx) = Fft::new(FFT_SIZE, plots.get_sender()).unwrap();
|
let (fft, rx) = Fft::new(FFT_SIZE, plots.get_sender()).unwrap();
|
||||||
//let stream = Audio::new(fft.tx.clone(), plots.get_sender()).unwrap();
|
|
||||||
|
|
||||||
let wf_size = fft.output_len;
|
let wf_size = fft.output_len;
|
||||||
let gl = cc
|
let gl = cc
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user