pub struct ChunkShape {
pub samples: usize,
pub frame_shift: usize,
pub frame_size: usize,
pub speakers: usize,
}Expand description
The grid one engine answers on.
frame_size is wider than frame_shift — frames overlap — so a frame’s
time is the centre of the audio behind it rather than its leading edge.
Fields§
§samples: usizeSamples in one chunk, at 16 kHz.
frame_shift: usizeSamples from one frame to the next.
frame_size: usizeSamples one frame answers for.
speakers: usizeVoices the engine can tell apart inside a single chunk. They are local to the chunk: voice 0 of one chunk and voice 0 of the next are not the same person.
Trait Implementations§
Source§impl Clone for ChunkShape
impl Clone for ChunkShape
impl Copy for ChunkShape
Source§impl Debug for ChunkShape
impl Debug for ChunkShape
impl Eq for ChunkShape
Source§impl PartialEq for ChunkShape
impl PartialEq for ChunkShape
impl StructuralPartialEq for ChunkShape
Auto Trait Implementations§
impl Freeze for ChunkShape
impl RefUnwindSafe for ChunkShape
impl Send for ChunkShape
impl Sync for ChunkShape
impl Unpin for ChunkShape
impl UnsafeUnpin for ChunkShape
impl UnwindSafe for ChunkShape
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more