Raffaello / sdl2-hyper-sonic-drivers

'90s sound-cards hardware emulation and files processing.
Apache License 2.0
5 stars 0 forks source link

consider to make Emulators to run on a different thread so the main thread is free to do other things..... #253

Closed Raffaello closed 1 year ago

Raffaello commented 1 year ago

I don't think is running on a different thread....

Raffaello commented 1 year ago

not only opl, but all the emulated hardware. (MT32, pcspeaker, ....)

Raffaello commented 1 year ago

well those run on the "Audio processing thread" that for e.g. is a separated thread with SDL2.... not sure it can be done more than this anyway, as the emulator is running only when asks to read data from it. unless creating sorts of caches and buffers. to be quicker to retrieve the data like if it is just a PCM to render to the audio...