diff options
author | Chris Robinson <[email protected]> | 2012-05-07 11:42:59 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2012-05-07 11:42:59 -0700 |
commit | 92827cc467e6bfd9ff5879b6018a0f8d2bcec2df (patch) | |
tree | 59d3580f8319191347ce9a4d4ad56b2154346e38 /Alc/alcRing.c | |
parent | dd3d5bc2d4f4644d71668ac6e5b15c8bbe88d9c6 (diff) |
Clamp the ALSA buffer time between min and max if setting near fails
It seems there's some bugs with snd_pcm_hw_params_set_buffer_time_near that
cause it to return "invalid argument" despite a valid nearby buffer time being
available. Clamping the buffer time seems to mitigate the issue a bit.
Diffstat (limited to 'Alc/alcRing.c')
0 files changed, 0 insertions, 0 deletions