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

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

References project.

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

Here is the caller graph for this function: