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