mirror of
https://github.com/citra-emu/citra.git
synced 2024-12-25 10:30:05 +00:00
Fixup: Merge conflict with dsp lle
This commit is contained in:
parent
56cc9edf43
commit
48288da598
@ -35,6 +35,15 @@ create_target_directory_groups(audio_core)
|
|||||||
target_link_libraries(audio_core PUBLIC common core)
|
target_link_libraries(audio_core PUBLIC common core)
|
||||||
target_link_libraries(audio_core PRIVATE SoundTouch)
|
target_link_libraries(audio_core PRIVATE SoundTouch)
|
||||||
|
|
||||||
|
if(FFMPEG_FOUND)
|
||||||
|
if(UNIX)
|
||||||
|
target_link_libraries(audio_core PRIVATE FFmpeg::avcodec)
|
||||||
|
else()
|
||||||
|
target_include_directories(audio_core PRIVATE ${FFMPEG_DIR}/include)
|
||||||
|
endif()
|
||||||
|
target_compile_definitions(audio_core PRIVATE HAVE_FFMPEG)
|
||||||
|
endif()
|
||||||
|
|
||||||
if(SDL2_FOUND)
|
if(SDL2_FOUND)
|
||||||
target_link_libraries(audio_core PRIVATE SDL2)
|
target_link_libraries(audio_core PRIVATE SDL2)
|
||||||
target_compile_definitions(audio_core PRIVATE HAVE_SDL2)
|
target_compile_definitions(audio_core PRIVATE HAVE_SDL2)
|
||||||
@ -45,12 +54,3 @@ if(ENABLE_CUBEB)
|
|||||||
add_definitions(-DHAVE_CUBEB=1)
|
add_definitions(-DHAVE_CUBEB=1)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(FFMPEG_FOUND)
|
|
||||||
if(UNIX)
|
|
||||||
target_link_libraries(audio_core PRIVATE FFmpeg::avcodec)
|
|
||||||
else()
|
|
||||||
target_include_directories(audio_core PRIVATE ${FFMPEG_DIR}/include)
|
|
||||||
endif()
|
|
||||||
target_compile_definitions(audio_core PRIVATE HAVE_FFMPEG)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#endif
|
#endif // _WIN32
|
||||||
|
|
||||||
#include "common/logging/log.h"
|
#include "common/logging/log.h"
|
||||||
|
|
||||||
@ -71,7 +71,7 @@ bool InitFFmpegDL() {
|
|||||||
|
|
||||||
// Free the buffer.
|
// Free the buffer.
|
||||||
LocalFree(messageBuffer);
|
LocalFree(messageBuffer);
|
||||||
LOG_ERROR(Audio_DSP, "Could not load avcodec-58.dll: {}", message);
|
LOG_ERROR(Audio_DSP, "Could not load avutil-56.dll: {}", message);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user