mirror of
https://github.com/Lorenzooone/cc3dsfs.git
synced 2026-04-25 15:45:42 -05:00
Fix issue with compilation under Linux
This commit is contained in:
parent
27d9826f57
commit
4a21f9af7d
|
|
@ -81,6 +81,7 @@ else()
|
|||
endif()
|
||||
|
||||
set(RASPBERRY_PI_COMPILATION FALSE CACHE BOOL "Option for compiling the Raspberry Pi GPIO library in")
|
||||
set(SFML_USE_DRM FALSE CACHE BOOL "Option for compiling SFML for DRM on Linux")
|
||||
set(SFML_BUILD_NETWORK FALSE)
|
||||
set(EXTRA_LIBRARIES "")
|
||||
if(MINGW_CROSS_COMPILATION)
|
||||
|
|
|
|||
|
|
@ -384,17 +384,15 @@ static void audioDeviceNotificationCallback(bool& requestAudioResearch, bool res
|
|||
if(resetting)
|
||||
return;
|
||||
switch (notification)
|
||||
{
|
||||
case sf::PlaybackDevice::Notification::DeviceStopped:
|
||||
{
|
||||
if(sf::PlaybackDevice::isDefaultDevice())
|
||||
break;
|
||||
requestAudioResearch = true;
|
||||
break;
|
||||
}
|
||||
default:
|
||||
break;
|
||||
}
|
||||
{
|
||||
case sf::PlaybackDevice::Notification::DeviceStopped:
|
||||
if(sf::PlaybackDevice::isDefaultDevice())
|
||||
break;
|
||||
requestAudioResearch = true;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
static bool handleAudioDeviceChanges(Audio &audio, AudioData *audio_data, std::optional<std::string> &curr_device, audio_output_device_data &in_use_audio_output_device_data, bool &requestAudioResearch, bool &resetting) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user