Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

Is there any documentation or user experience anywhere as to what the differences/pros/cons of each audio driver and resampler actually are?



  • For example, I know that gl vs. dispmanx on the video driver side has the trade offs of no rotation but one frame less input latency on the latter, etc.

    But I can't seem to figure out anywhere if there is a similar split or list of advantages and disadvantages as to audio.

    I have mostly let it be with default settings of alsa/sinc for audio driver and resampler, but does anyone have any idea what the use case or other reason for the other audio like alsathreaded, sdl2, etc. might be?

    Just very curious.


  • administrators

    Depends on the platform/peripherals etc. Probably too subjective to document, generally speaking the default is set as it usually causes the least trouble



  • @herb_fargus said in Is there any documentation or user experience anywhere as to what the differences/pros/cons of each audio driver and resampler actually are?:

    Depends on the platform/peripherals etc. Probably too subjective to document, generally speaking the default is set as it usually causes the least trouble

    That's about what I figured RE: just causing the least trouble.

    I am leaving things solid default for now, but was just wondering. I am an amateur recording/home audio engineer type on the side so certainly I can see the intent and difference of disabling/enabling dithering, changing output frequency from 48000 to "CD audio" 44100," etc. Just wondering what might go along with those adjustments RE: the drivers.

    But for now I will leave everything as-is and focus my tinkering elsewhere. Thanks for the reply.

    But for now



  • @rc_cola
    Once when I experienced problems with cd tracks on psx games, I experimented with different audio drivers. If you dig more and search the web, you will find some different opinions. I think one of the audio driver will synchronize with video and if you get frame drops or anything else can't keep it up, then audio starts to stutter. Changing the driver did resolve this problem, if i remember right. The audio wasn't no longer synchronized, but it sounded without problems and I couldn't tell anything wrong with it. It was only happening with cd tracks. So, in short, this could be one of the tradeoffs. I have no more details about this, sorry.

    Btw, you may find more information if you search about these topics in generell, like sdl vs alsa. These are common in Linux. And just in case you missed this page:
    https://retropie.org.uk/docs/Sound-Issues/ Note, they speak about older Raspberry Pi versions on this page.



Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.