Factory for creating audio backends. More...
#include <audio_backend.h>
Public Types | |
| enum class | BackendType { SDL2 , SDL3 , NULL_BACKEND } |
Static Public Member Functions | |
| static std::unique_ptr< IAudioBackend > | Create (BackendType type) |
Factory for creating audio backends.
Definition at line 137 of file audio_backend.h.
|
strong |
| Enumerator | |
|---|---|
| SDL2 | |
| SDL3 | |
| NULL_BACKEND | |
Definition at line 139 of file audio_backend.h.
|
static |
Definition at line 314 of file audio_backend.cc.
References LOG_ERROR, LOG_WARN, NULL_BACKEND, and SDL2.
Referenced by yaze::emu::Emulator::Initialize(), yaze::emu::Emulator::Run(), and yaze::test::EmulatorTestSuite::RunAudioBackendTest().