/
redgpu
/
ezEngine
Обзор
Документация
Войти
/
redgpu
/
ezEngine
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
release-25.8
Code/EnginePlugins/MiniAudioPlugin/MiniAudioPluginPCH.h
21 строка
846 B
Jan Krassnigg
Added MiniAudio plugin as an alternative to FMOD (#1514)
30 мар 2025, 16:53
Не верифицирован
30 мар 2025, 16:53
e7ef537
Код
Авторство
О чём код?
#pragma once #include <Foundation/Basics.h> #include <Foundation/Logging/Log.h> #include <MiniAudio/miniaudio.h> #include <MiniAudioPlugin/MiniAudioPluginDLL.h> EZ_DEFINE_AS_POD_TYPE(ma_sound); // <StaticLinkUtil::StartHere> // all include's before this will be left alone and not replaced by the StaticLinkUtil // all include's AFTER this will be removed by the StaticLinkUtil and updated by what is actually used throughout the library #define EZ_MA_CHECK(x) \ do \ { \ if (int res = (x); res != MA_SUCCESS) \ { \ EZ_REPORT_FAILURE("MiniAudio error: {}", res); \ } \ } while (false)\