File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -42,10 +42,10 @@ namespace openshot
4242 m_pInstance = new AudioDeviceManagerSingleton;
4343
4444 // Get preferred audio device name (if any)
45- string preferred_audio_device = Settings::Instance ()->PLAYBACK_AUDIO_DEVICE_NAME ;
45+ juce::String preferred_audio_device = juce::String ( Settings::Instance ()->PLAYBACK_AUDIO_DEVICE_NAME . c_str ()) ;
4646
4747 // Initialize audio device only 1 time
48- String error = m_pInstance->audioDeviceManager .initialise (
48+ juce:: String error = m_pInstance->audioDeviceManager .initialise (
4949 0 , /* number of input channels */
5050 2 , /* number of output channels */
5151 0 , /* no XML settings.. */
@@ -67,7 +67,7 @@ namespace openshot
6767
6868 for (int j = 0 ; j < deviceNames.size (); ++j )
6969 {
70- const String deviceName = deviceNames[j];
70+ juce:: String deviceName = deviceNames[j];
7171 AudioDeviceInfo deviceInfo = {deviceName.toStdString (), t->getTypeName ().toStdString ()};
7272 m_pInstance->audio_device_names .push_back (deviceInfo);
7373 }
You can’t perform that action at this time.
0 commit comments