Audacity 3.2.0
Functions
Benchmark.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

AUDACITY_DLL_API void RunBenchmark (wxWindow *parent, AudacityProject &project)
 

Function Documentation

◆ RunBenchmark()

AUDACITY_DLL_API void RunBenchmark ( wxWindow *  parent,
AudacityProject project 
)

Definition at line 91 of file Benchmark.cpp.

92{
93 /*
94 int action = AudacityMessageBox(
95XO("This will close all project windows (without saving)\nand open the Audacity Benchmark dialog.\n\nAre you sure you want to do this?"),
96 XO("Benchmark"),
97 wxYES_NO | wxICON_EXCLAMATION,
98 NULL);
99
100 if (action != wxYES)
101 return;
102
103 for ( auto pProject : AllProjects{} )
104 GetProjectFrame( *pProject ).Close();
105 */
106
107 BenchmarkDialog dlog{ parent, project };
108
109 dlog.CentreOnParent();
110
111 dlog.ShowModal();
112}
const auto project
BenchmarkDialog is used for measuring performance and accuracy of sample block storage.
Definition: Benchmark.cpp:53

References project.

Referenced by AudacityApp::InitPart2(), and anonymous_namespace{PluginMenus.cpp}::OnBenchmark().

Here is the caller graph for this function: