mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 04:08:55 +00:00
Restrict OpenSLES to Android via CMake
This commit is contained in:
parent
e638bb658f
commit
e2aefe13a6
3 changed files with 15 additions and 12 deletions
|
@ -10,7 +10,7 @@
|
|||
|
||||
class OpenSLESStream final : public SoundStream
|
||||
{
|
||||
#ifdef ANDROID
|
||||
#ifdef HAVE_OPENSL_ES
|
||||
public:
|
||||
~OpenSLESStream() override;
|
||||
bool Init() override;
|
||||
|
@ -21,5 +21,5 @@ public:
|
|||
private:
|
||||
std::thread thread;
|
||||
Common::Event soundSyncEvent;
|
||||
#endif // HAVE_OPENSL
|
||||
#endif // HAVE_OPENSL_ES
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue