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 90 of file Benchmark.cpp.

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

References project.

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

Here is the caller graph for this function: