more miniaudio defines

This commit is contained in:
Demur Rumed 2025-04-23 07:42:47 +00:00
parent 4edea05106
commit 4ffc47c237
3 changed files with 15 additions and 1 deletions

View file

@ -1,6 +1,9 @@
#define MINIAUDIO_IMPLEMENTATION
#define MA_NO_THREADING
#define MA_NO_DEVICE_IO
#define MA_NO_GENERATION
#define MA_NO_FLAC
#define MA_NO_MP3
#define MA_ENABLE_ONLY_SPECIFIC_BACKENDS
#define AAE_CHANNELS 2
#define AAE_SAMPLE_RATE 44100

View file

@ -1,5 +1,10 @@
#pragma once
#define MA_NO_FLAC
#define MA_NO_MP3
#define MA_NO_THREADING
#define MA_NO_DEVICE_IO
#define MA_NO_GENERATION
#include "miniaudio/miniaudio.h"
#include <stdint.h>
#include <thread>

View file

@ -1,7 +1,13 @@
#include "SfxExtractor.h"
#include "dr_libs/dr_wav.h"
#include "soh/Enhancements/speechsynthesizer/SpeechSynthesizer.h"
#include "soh/Enhancements/tts/tts.h"
#include "dr_libs/dr_wav.h"
#define MA_NO_FLAC
#define MA_NO_MP3
#define MA_NO_THREADING
#define MA_NO_DEVICE_IO
#define MA_NO_GENERATION
#define MA_ENABLE_ONLY_SPECIFIC_BACKENDS
#include "miniaudio/miniaudio.h"
#include "soh/OTRGlobals.h"
#include "SfxTable.h"