diff options
author | Chris Robinson <[email protected]> | 2023-03-07 21:35:14 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2023-03-07 21:35:14 -0800 |
commit | e4b205414c73839710017fc28465110d9eb7b081 (patch) | |
tree | 0aa5a50965d087fc38a097f3e7ae899847cfbd61 /al/buffer.h | |
parent | c6c8a13220867f05c26bc388bc8bb917fece151a (diff) |
Don't use "hardware" for automatic buffer storage
Diffstat (limited to 'al/buffer.h')
-rw-r--r-- | al/buffer.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/al/buffer.h b/al/buffer.h index a22ba438..3a799aab 100644 --- a/al/buffer.h +++ b/al/buffer.h @@ -14,6 +14,12 @@ #ifdef ALSOFT_EAX #include "eax/x_ram.h" + +enum class EaxStorage : uint8_t { + Automatic, + Accessible, + Hardware +}; #endif // ALSOFT_EAX /* User formats */ @@ -71,7 +77,7 @@ struct ALbuffer : public BufferStorage { DISABLE_ALLOC() #ifdef ALSOFT_EAX - ALenum eax_x_ram_mode{AL_STORAGE_AUTOMATIC}; + EaxStorage eax_x_ram_mode{EaxStorage::Automatic}; bool eax_x_ram_is_hardware{}; #endif // ALSOFT_EAX }; |