This commit is contained in:
2026-06-15 13:08:12 +02:00
parent d2bc12d5fd
commit 2e76bae04f
4 changed files with 30 additions and 21 deletions

View File

@ -6,18 +6,18 @@ use std::io::{BufReader, ErrorKind, Read};
pub type IqSample = Complex<f32>;
// Data chunk
#[derive(Debug)]
pub struct IqChunk {
pub samples: Vec<IqSample>,
}
impl IqChunk {
pub fn new() -> Self {
IqChunk {
samples: Vec::<IqSample>::new(),
}
}
}
// #[derive(Debug)]
// pub struct IqChunk {
// pub samples: Vec<IqSample>,
// }
//
// impl IqChunk {
// pub fn new() -> Self {
// IqChunk {
// samples: Vec::<IqSample>::new(),
// }
// }
// }
pub struct FileSource {
// Buffer