Skip to content
  • Vladimir Serbinenko's avatar
    sdlsound: Use circular buffer instead of 2 buffers. · e5a0489c
    Vladimir Serbinenko authored
    In my tests SDL asks for only part of full buffer and we discard the other
    part. It has 2 consequences:
    
    1) Choppy sound
    2) Emulation running too quickly
    
    Circular buffer implements a queue and is completely flexible as to how
    data is pushed and pulled from it.
    e5a0489c