You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
DEBUG output of default output sample rate
This commit is contained in:
@@ -73,6 +73,10 @@ namespace openshot
|
||||
deviceSetup.inputChannels = channels;
|
||||
deviceSetup.outputChannels = channels;
|
||||
|
||||
m_pInstance->audioDeviceManager.initialiseWithDefaultDevices (0, 2);
|
||||
double default_rate = m_pInstance->audioDeviceManager.getCurrentAudioDevice()->getCurrentSampleRate();
|
||||
std::cout << "default_rate: " << default_rate << ", requested rate: " << rate << std::endl;
|
||||
|
||||
// Initialize audio device only 1 time
|
||||
juce::String audio_error = m_pInstance->audioDeviceManager.initialise (
|
||||
0, // number of input channels
|
||||
|
||||
Reference in New Issue
Block a user