mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-18 04:45:20 +00:00
Add Start Threshold parameter (ALSA)
This commit is contained in:
parent
ee009ec99c
commit
7050575fdb
2 changed files with 3 additions and 0 deletions
|
|
@ -82,6 +82,8 @@ ALSAThread::ALSAThread()
|
|||
if (!check(snd_pcm_sw_params_current(s_tls_handle, s_tls_sw_params), "snd_pcm_sw_params_current"))
|
||||
return;
|
||||
|
||||
period_frames *= g_cfg.audio.startt;
|
||||
|
||||
if (!check(snd_pcm_sw_params_set_start_threshold(s_tls_handle, s_tls_sw_params, period_frames), "snd_pcm_sw_params_set_start_threshold"))
|
||||
return;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue