MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / make_audio_buffer

Function make_audio_buffer

src/models/omnivoice/postprocess.cpp:259–265  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

257}
258
259runtime::AudioBuffer make_audio_buffer(std::vector<float> mono, int sample_rate) {
260 runtime::AudioBuffer out;
261 out.sample_rate = sample_rate;
262 out.channels = 1;
263 out.samples = std::move(mono);
264 return out;
265}
266
267} // namespace
268

Callers 1

finalizeMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected