commit dc56334e8c564e2c8a9ca8a166b97560e2505cff
Author: jtothebell <j.to.the.bell@gmail.com>
AuthorDate: Sat Jan 29 16:46:44 2022 -0700
Commit: jtothebell <j.to.the.bell@gmail.com>
CommitDate: Sat Jan 29 16:46:44 2022 -0700
Try tweaking miyoo audio settings
there is audio delay. Unsure of a good way to address
---
platform/miyoomini/source/MiyooMiniHost.cpp | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/platform/miyoomini/source/MiyooMiniHost.cpp b/platform/miyoomini/source/MiyooMiniHost.cpp
index 68de710..0fc36d2 100644
--- a/platform/miyoomini/source/MiyooMiniHost.cpp
+++ b/platform/miyoomini/source/MiyooMiniHost.cpp
@@ -97,7 +97,7 @@ void audioCleanup(){
void FillAudioDeviceBuffer(void* UserData, Uint8* DeviceBuffer, int Length)
{
- _audio->FillMonoAudioBuffer(DeviceBuffer, 0, Length / 2);
+ _audio->FillMonoAudioBuffer(DeviceBuffer, 0, Length / 4);
}
void audioSetup(){
@@ -106,8 +106,8 @@ void audioSetup(){
SDL_memset(&want, 0, sizeof(want));
want.freq = SAMPLERATE;
want.format = AUDIO_S16LSB;
- want.channels = 1;
- want.samples = 512;
+ want.channels = 2;
+ want.samples = 4096;
want.callback = FillAudioDeviceBuffer;