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

Function FailExport

modules/import-export/mod-opus/ExportOpus.cpp:67–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65}
66
67[[noreturn]] void FailExport(const TranslatableString& title, int errorCode = 0)
68{
69 if (errorCode != 0)
70 {
71 throw ExportException(Verbatim("%s: %s")
72 .Format(title, GetOpusEncErrorString(errorCode))
73 .Translation());
74 }
75
76 throw ExportException(title.Translation());
77}
78
79/* i18n-hint: kbps abbreviates "thousands of bits per second" */
80TranslatableString n_kbps(int n)

Callers 4

WriteMethod · 0.85
WritePageMethod · 0.85
InitializeMethod · 0.85
ProcessMethod · 0.85

Calls 3

VerbatimFunction · 0.85
GetOpusEncErrorStringFunction · 0.85
TranslationMethod · 0.80

Tested by

no test coverage detected