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

Function FormatRate

src/ProjectAudioManager.cpp:80–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78ProjectAudioManager::~ProjectAudioManager() = default;
79
80static TranslatableString FormatRate( int rate )
81{
82 if (rate > 0) {
83 return XO("Actual Rate: %d").Format( rate );
84 }
85 else
86 // clear the status field
87 return {};
88}
89
90auto ProjectAudioManager::StatusWidthFunction(
91 const AudacityProject &project, StatusBarField field )

Callers 2

StatusWidthFunctionMethod · 0.85
OnAudioIORateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected