mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 04:42:32 +00:00
Update alsa support for most recent API changes. Old version temporarily left in as comments.
This commit is contained in:
parent
ef5fd0ed6d
commit
b10ea42970
1 changed files with 4 additions and 2 deletions
|
@ -178,8 +178,10 @@ SNDDMA_Init (void)
|
|||
}
|
||||
|
||||
snd_pcm_sw_params_current (pcm, sw);
|
||||
snd_pcm_sw_params_set_start_mode (pcm, sw, SND_PCM_START_EXPLICIT);
|
||||
snd_pcm_sw_params_set_xrun_mode (pcm, sw, SND_PCM_XRUN_NONE);
|
||||
// snd_pcm_sw_params_set_start_mode (pcm, sw, SND_PCM_START_EXPLICIT);
|
||||
snd_pcm_sw_params_set_start_threshold (pcm, sw, ~0U);
|
||||
// snd_pcm_sw_params_set_xrun_mode (pcm, sw, SND_PCM_XRUN_NONE);
|
||||
snd_pcm_sw_params_set_stop_threshold (pcm, sw, ~0U);
|
||||
|
||||
err = snd_pcm_sw_params (pcm, sw);
|
||||
if (err < 0) {
|
||||
|
|
Loading…
Reference in a new issue