MCPcopy Create free account
hub / github.com/evilsocket/cake / AudioOutput

Class AudioOutput

cake-core/src/models/mod.rs:143–148  ·  view source on GitHub ↗

Output from audio generation.

Source from the content-addressed store, hash-verified

141
142/// Output from audio generation.
143pub struct AudioOutput {
144 /// PCM f32 samples.
145 pub samples: Vec<f32>,
146 /// Sample rate in Hz.
147 pub sample_rate: u32,
148}
149
150impl AudioOutput {
151 /// Encode as WAV bytes (16-bit PCM).

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected