SourMesen / Mesen

Mesen is a cross-platform (Windows & Linux) NES/Famicom emulator built in C++ and C#
https://www.mesen.ca
GNU General Public License v3.0
1.26k stars 320 forks source link

libretro number of blip_buf samples seems low? #852

Closed artflue closed 4 years ago

artflue commented 4 years ago

Hi, have a question about the # samples produced every frame. I'm running ntsc rom, no overclock, libretro, 48000 hz.

I check the logs and it goes like this blip_end_frame = 9999 time sampleCount = 269, 268

blip_end_frame = 9782 time sampleCount = 262

Normally with other emus, 48000Hz produces ~799-800 frames of libretro audio every vsync. I'm trying to understand why Mesen produces such low numbers?

artflue commented 4 years ago

I just realized that Mesen sends in batches. So 269+268+262 = 799. No error.