MCPcopy Create free account
hub / github.com/audacity/audacity / GetAudioPagePath

Method GetAudioPagePath

libraries/lib-cloud-audiocom/ServiceConfig.cpp:204–215  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

202}
203
204std::string ServiceConfig::GetAudioPagePath(
205 std::string_view userSlug, std::string_view audioSlug,
206 AudiocomTrace trace) const
207{
208 return Substitute(
209 "/{user_slug}/audio/{audio_slug}/edit?" MTM_CAMPAIGN,
210 {
211 { "user_slug", userSlug },
212 { "audio_slug", audioSlug },
213 { "version_number", audacity::ToUTF8(AUDACITY_VERSION_STRING) },
214 { "button_name", GetButtonName(trace) } });
215}
216
217std::chrono::milliseconds ServiceConfig::GetProgressCallbackTimeout() const
218{

Callers 2

CompletePromiseMethod · 0.80
GetSelectedAudioUrlMethod · 0.80

Calls 3

SubstituteFunction · 0.85
ToUTF8Function · 0.85
GetButtonNameFunction · 0.85

Tested by

no test coverage detected