soloud icon indicating copy to clipboard operation
soloud copied to clipboard

[Bugfix][ALSA]Fixes a bug where snd_pcm_writei will hang the mix thread

Open bradc6 opened this issue 1 year ago • 0 comments

This bugfix goes after 2 issues;

  1. The channels was hard coded to 2 instead of what was passed in (Otherwise probably should return an error)
  2. Ensure that there is IO available to write to the ALSA device before we write, otherwise we will hang. This behavior occurs for me when using pulseaudio's ALSA plugin.

bradc6 avatar Jun 22 '23 09:06 bradc6