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

Function has_voice_selection

src/models/pocket_tts/session.cpp:89–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87 manifest.model_config.mimi_encoder_upsample_stride,
88 };
89}
90
91bool has_voice_selection(const VoiceConfig & voice) {
92 return !voice.preset_name.empty()
93 || !voice.embedding_path.empty()
94 || !voice.clone_audio_path.empty()
95 || voice.clone_audio.has_value();
96}
97

Callers 1

prepareMethod · 0.85

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected