Audacity 3.2.0
Public Member Functions | List of all members
anonymous_namespace{MIDIPlay.cpp}::InitializeTime Struct Reference

Public Member Functions

 InitializeTime ()
 

Detailed Description

Definition at line 406 of file MIDIPlay.cpp.

Constructor & Destructor Documentation

◆ InitializeTime()

anonymous_namespace{MIDIPlay.cpp}::InitializeTime::InitializeTime ( )
inline

Definition at line 406 of file MIDIPlay.cpp.

406 { InitializeTime() {
407 LARGE_INTEGER ticksPerSecond;
408
409 if( QueryPerformanceFrequency( &ticksPerSecond ) != 0 )
410 {
412 secondsPerTick_ = 1.0 / (double)ticksPerSecond.QuadPart;
413 }
414 else
415 {
417 }
static struct anonymous_namespace{MIDIPlay.cpp}::InitializeTime initializeTime

References InitializeTime(), anonymous_namespace{MIDIPlay.cpp}::secondsPerTick_, and anonymous_namespace{MIDIPlay.cpp}::usePerformanceCounter_.

Referenced by InitializeTime().

Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this struct was generated from the following file: