| 88 | } |
| 89 | |
| 90 | auto ProjectAudioManager::StatusWidthFunction( |
| 91 | const AudacityProject &project, StatusBarField field ) |
| 92 | -> ProjectStatus::StatusWidthResult |
| 93 | { |
| 94 | if ( field == RateStatusBarField() ) { |
| 95 | auto &audioManager = ProjectAudioManager::Get( project ); |
| 96 | int rate = audioManager.mDisplayedRate; |
| 97 | return { |
| 98 | { { FormatRate( rate ) } }, |
| 99 | 50 |
| 100 | }; |
| 101 | } |
| 102 | return {}; |
| 103 | } |
| 104 | |
| 105 | namespace { |
| 106 | // The implementation is general enough to allow backwards play too |
nothing calls this directly
no test coverage detected