mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-09-19 15:59:00 +00:00
Fix USE_SYSTEM_OPENAL to use system headers
Even when USE_SYSTEM_OPENAL was enabled, the code directly included the bundled OpenAL headers, bypassing the system headers. Since `#include <AL/al.h>` is not portable, use `#include "al.h"` instead. https://cmake.org/cmake/help/latest/module/FindOpenAL.html
This commit is contained in:
parent
e319ca2998
commit
daad30b2b3
3 changed files with 5 additions and 4 deletions
|
@ -11,7 +11,7 @@
|
|||
#include <cmath>
|
||||
|
||||
#ifndef WITHOUT_OPENAL
|
||||
#include "3rdparty/OpenAL/openal-soft/include/AL/alext.h"
|
||||
#include "alext.h"
|
||||
#endif
|
||||
|
||||
LOG_CHANNEL(cellMic);
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
#pragma once
|
||||
|
||||
#include "Utilities/Thread.h"
|
||||
#include "3rdparty/OpenAL/openal-soft/include/AL/alc.h"
|
||||
#include "Utilities/mutex.h"
|
||||
|
||||
#include "alc.h"
|
||||
|
||||
// Error Codes
|
||||
enum CellMicInError : u32
|
||||
{
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
|
||||
#include "Utilities/StrUtil.h"
|
||||
|
||||
#include "3rdparty/OpenAL/openal-soft/include/AL/al.h"
|
||||
#include "3rdparty/OpenAL/openal-soft/include/AL/alc.h"
|
||||
#include "al.h"
|
||||
#include "alc.h"
|
||||
|
||||
LOG_CHANNEL(cfg_log, "CFG");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue