diff --git a/Core/HLE/__sceAudio.cpp b/Core/HLE/__sceAudio.cpp index c3b9182985..7d58fc0489 100644 --- a/Core/HLE/__sceAudio.cpp +++ b/Core/HLE/__sceAudio.cpp @@ -37,13 +37,26 @@ int mixFrequency = 44100; const int hwSampleRate = 44100; const int hwBlockSize = 64; -const int hostAttemptBlockSize = 256; + +// TODO: Tweak +#ifdef ANDROID +const int hostAttemptBlockSize = 2048; +#else +const int hostAttemptBlockSize = 512; +#endif + const int audioIntervalUs = (int)(1000000ULL * hwBlockSize / hwSampleRate); const int audioHostIntervalUs = (int)(1000000ULL * hostAttemptBlockSize / hwSampleRate); // High and low watermarks, basically. -const int chanQueueMaxSizeFactor = 4; -const int chanQueueMinSizeFactor = 1; +// TODO: Tweak +#ifdef ANDROID + const int chanQueueMaxSizeFactor = 8; + const int chanQueueMinSizeFactor = 4; +#else + const int chanQueueMaxSizeFactor = 2; + const int chanQueueMinSizeFactor = 1; +#endif FixedSizeQueue outAudioQueue;