Initial commit

This commit is contained in:
nmzik
2026-07-16 10:21:41 +02:00
commit 147188b143
427 changed files with 205923 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
#ifndef EMULATOR_INCLUDE_EMULATOR_AUDIO_INTERNAL_H_
#define EMULATOR_INCLUDE_EMULATOR_AUDIO_INTERNAL_H_
#include "common/common.h"
namespace Libs::Audio::AudioInternal {
enum class Format {
Unknown,
Signed16bitMono,
Signed16bitStereo,
Signed16bit8Ch,
FloatMono,
FloatStereo,
Float8Ch,
Signed16bit8ChStd,
Float8ChStd,
};
struct OutputParam {
int handle = 0;
const void* data = nullptr;
};
static constexpr int OUT_PORTS_MAX = 32;
int AudioOutOpen(int type, uint32_t samples_num, uint32_t freq, Format format);
void AudioOutClose(int handle);
uint32_t AudioOutOutputs(const OutputParam* params, uint32_t num);
} // namespace Libs::Audio::AudioInternal
#endif // EMULATOR_INCLUDE_EMULATOR_AUDIO_INTERNAL_H_