mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-21 21:05:50 +12:00
Libretro: Add audio support
This commit is contained in:
parent
54a78902bc
commit
be071ffb78
3 changed files with 57 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue