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