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

Function reject_enabled_denoise

src/models/voxcpm2/session.cpp:32–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30 return assets;
31}
32
33void reject_enabled_denoise(
34 const std::unordered_map<std::string, std::string> &options,
35 std::initializer_list<std::string_view> keys) {
36 const auto match = runtime::find_option_match(options, keys);
37 if (match.has_value() &&
38 runtime::parse_bool_option(match->value, match->key)) {
39 throw std::runtime_error(
40 "VoxCPM2 denoise is disabled in this implementation");
41 }
42}
43
44void reject_denoiser_option(

Callers 2

VoxCPM2SessionMethod · 0.85

Calls 2

find_option_matchFunction · 0.85
parse_bool_optionFunction · 0.85

Tested by

no test coverage detected