mirror of https://github.com/mpv-player/mpv
10l to arpi with commit r1.12, noticed by Daniel Mario Vega <dv5a@dc.uba.ar>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9671 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
2681344b09
commit
d38968bd0e
|
@ -158,7 +158,7 @@ static int init(int rate_hz, int channels, int format, int flags)
|
||||||
}
|
}
|
||||||
|
|
||||||
alsa_format.rate = ao_data.samplerate;
|
alsa_format.rate = ao_data.samplerate;
|
||||||
alsa_format.voices = ao_data.channels*2;
|
alsa_format.voices = ao_data.channels;
|
||||||
alsa_format.interleave = 1;
|
alsa_format.interleave = 1;
|
||||||
|
|
||||||
if ((err = snd_pcm_open(&alsa_handler, 0, 0, SND_PCM_OPEN_PLAYBACK)) < 0)
|
if ((err = snd_pcm_open(&alsa_handler, 0, 0, SND_PCM_OPEN_PLAYBACK)) < 0)
|
||||||
|
|
Loading…
Reference in New Issue