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

Method GetDefaultSampleRate

src/QtPlayer.cpp:66–72  ·  view source on GitHub ↗

Return the default audio sample rate (from the system)

Source from the content-addressed store, hash-verified

64
65 // Return the default audio sample rate (from the system)
66 double QtPlayer::GetDefaultSampleRate() {
67 if (reader && threads_started) {
68 return p->audioPlayback->getDefaultSampleRate();
69 } else {
70 return 0;
71 }
72 }
73
74 /// Get vector of audio device names & types
75 AudioDeviceList QtPlayer::GetAudioDeviceNames() {

Callers

nothing calls this directly

Calls 1

getDefaultSampleRateMethod · 0.80

Tested by

no test coverage detected