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

Function load_audio_24k_mono

src/models/vevo2/session.cpp:204–206  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

202
203int64_t frame_count_24k(const runtime::AudioBuffer & audio) {
204 return static_cast<int64_t>(engine::audio::convert_interleaved_audio_to_mono_linear_resampled(
205 audio.samples,
206 audio.sample_rate,
207 audio.channels,
208 24000).size()) / 480;
209}

Callers 1

make_requestMethod · 0.85

Calls 2

make_audio_bufferFunction · 0.70

Tested by

no test coverage detected