[−][src]Function x3::encoder::write_frame_header
pub fn write_frame_header(
bp: &mut BitPacker<'_>,
num_samples: usize,
id: u8
) -> Result<(), X3Error>
Write the frame header to the bit array.
Arguments
bp
- ABitPacker
where the frame data will be written to.num_samples
- The number of samples that are contained in the wav.id
- The source id.