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

Function make_audio_buffer

src/models/vevo2/session.cpp:186–192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

184 audio.samples,
185 audio.sample_rate,
186 audio.channels,
187 24000));
188}
189
190runtime::AudioBuffer load_audio_24k_mono(const std::filesystem::path & path) {
191 return make_audio_buffer(24000, engine::audio::read_wav_f32_as_mono_linear_resampled(path, 24000));
192}
193
194void trim_audio_seconds(runtime::AudioBuffer & audio, float seconds) {
195 if (seconds < 0.0F) {

Callers 2

load_audio_24k_monoFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected