mirror of
https://github.com/libretro/RetroArch
synced 2025-04-01 04:20:27 +00:00
(ALSA) Use non-near version of set_channels - we don't yet support
anything other than stereo
This commit is contained in:
parent
4a5688ffe7
commit
74b2fde05a
@ -95,7 +95,7 @@ static void *alsa_init(const char *device, unsigned rate, unsigned latency,
|
||||
if (snd_pcm_hw_params_set_format(alsa->pcm, params, format) < 0)
|
||||
goto error;
|
||||
|
||||
if (snd_pcm_hw_params_set_channels_near(alsa->pcm, params, &channels) < 0)
|
||||
if (snd_pcm_hw_params_set_channels(alsa->pcm, params, channels) < 0)
|
||||
goto error;
|
||||
|
||||
/* Don't allow rate resampling when probing for the default rate (but ignore if this call fails) */
|
||||
|
Loading…
x
Reference in New Issue
Block a user