[−][src]Function x3::encoder::encode
pub fn encode(
channels: &[&Channel<'_>],
bp: &mut BitPacker<'_>
) -> Result<(), X3Error>
Encode a wav file (represented as Channels
). The output will be written to bp
.
Arguments
channels
- The list of channels to encode. // FIXME: This is currently only one.bp
- ABitPacker
where the compressed data will be written to.