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

Function json_option_string

app/cli/request.cpp:47–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47engine::runtime::AudioBuffer read_audio_buffer(std::istream & input) {
48 const auto wav = engine::audio::read_wav_f32(input);
49 return engine::runtime::AudioBuffer{
50 wav.sample_rate,
51 wav.channels,
52 wav.samples,
53 };
54}
55
56engine::runtime::AudioBuffer read_audio_buffer(std::string_view input) {
57 const auto wav = engine::audio::read_wav_f32(input);
58 return engine::runtime::AudioBuffer{
59 wav.sample_rate,
60 wav.channels,
61 wav.samples,

Callers 5

json_options_mapFunction · 0.85
add_option_from_jsonFunction · 0.85
merged_optionsFunction · 0.85
json_string_mapFunction · 0.85

Calls 7

stringify_numberFunction · 0.85
stringifyFunction · 0.85
is_stringMethod · 0.80
is_boolMethod · 0.80
as_boolMethod · 0.80
is_numberMethod · 0.80
as_numberMethod · 0.80

Tested by

no test coverage detected