Libretro: Add audio support

This commit is contained in:
Jonian Guveli 2025-02-01 23:19:45 +02:00
parent 54a78902bc
commit be071ffb78
3 changed files with 57 additions and 0 deletions

View file

@ -9,6 +9,7 @@
#include "ring_buffer.hpp"
class MiniAudioDevice {
public:
using Samples = Common::RingBuffer<ma_int16, 0x2000 * 2>;
static constexpr ma_uint32 sampleRate = 32768; // 3DS sample rate
static constexpr ma_uint32 channelCount = 2; // Audio output is stereo