mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-23 06:10:03 -06:00
make mic input less shitty (and less dangerous)
This commit is contained in:
@ -298,8 +298,9 @@ private:
|
||||
int mpAudioMode;
|
||||
|
||||
SDL_AudioDeviceID micDevice;
|
||||
melonDS::s16 micExtBuffer[2048];
|
||||
melonDS::s16 micExtBuffer[4096];
|
||||
melonDS::u32 micExtBufferWritePos;
|
||||
melonDS::u32 micExtBufferCount;
|
||||
|
||||
melonDS::u32 micWavLength;
|
||||
melonDS::s16* micWavBuffer;
|
||||
@ -308,6 +309,8 @@ private:
|
||||
melonDS::u32 micBufferLength;
|
||||
melonDS::u32 micBufferReadPos;
|
||||
|
||||
SDL_mutex* micLock;
|
||||
|
||||
//int audioInterp;
|
||||
int audioVolume;
|
||||
bool audioDSiVolumeSync;
|
||||
|
Reference in New Issue
Block a user