staging some future refactoring, .h -> hpp, fix for rendering w/ audio

This commit is contained in:
2026-03-09 23:08:57 -04:00
parent 77f6e65b15
commit 2d27b7e8fb
76 changed files with 0 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
#pragma once
#include <SDL3_mixer/SDL_mixer.h>
#include <vector>
namespace anm2ed
{
class AudioStream
{
static void callback(void*, MIX_Mixer*, const SDL_AudioSpec*, float*, int);
public:
std::vector<float> stream{};
SDL_AudioSpec spec{};
AudioStream(MIX_Mixer*);
void capture_begin(MIX_Mixer*);
void capture_end(MIX_Mixer*);
};
}