MCPcopy Create free account
hub / github.com/OpenShot/libopenshot / Instance

Method Instance

src/Qt/AudioPlaybackThread.cpp:39–42  ·  view source on GitHub ↗

Create or Get audio device singleton with default settings (44100, 2)

Source from the content-addressed store, hash-verified

37
38 // Create or Get audio device singleton with default settings (44100, 2)
39 AudioDeviceManagerSingleton *AudioDeviceManagerSingleton::Instance()
40 {
41 return AudioDeviceManagerSingleton::Instance(44100, 2);
42 }
43
44 // Create or Get an instance of the device manager singleton (with custom sample rate & channels)
45 AudioDeviceManagerSingleton *AudioDeviceManagerSingleton::Instance(int rate, int channels)

Callers

nothing calls this directly

Calls 2

AppendDebugMethodMethod · 0.80
getCurrentAudioDeviceMethod · 0.80

Tested by

no test coverage detected