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

Function read_audio_buffer

app/cli/request.cpp:38–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36}
37
38void set_option_from_json_field(
39 std::unordered_map<std::string, std::string> & options,
40 const engine::io::json::Value & object,
41 const std::string & field,
42 const std::string & option_key) {
43 const auto * value = object.find(field);
44 if (value != nullptr && !value->is_null()) {
45 set_option(options, option_key, json_option_string(*value));
46 }
47}
48

Callers 6

build_request_from_jsonFunction · 0.70
build_request_from_cliFunction · 0.70
build_audio_dir_batchFunction · 0.70
build_speech_requestMethod · 0.50

Calls 1

read_wav_f32Function · 0.50

Tested by

no test coverage detected