fm demod
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user