From d38968bd0edfffbf7827f92f719b497709ec9708 Mon Sep 17 00:00:00 2001 From: alex Date: Sun, 23 Mar 2003 18:19:08 +0000 Subject: 10l to arpi with commit r1.12, noticed by Daniel Mario Vega git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9671 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libao2/ao_alsa5.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libao2') diff --git a/libao2/ao_alsa5.c b/libao2/ao_alsa5.c index fed09a8bef..9602997ce8 100644 --- a/libao2/ao_alsa5.c +++ b/libao2/ao_alsa5.c @@ -158,7 +158,7 @@ static int init(int rate_hz, int channels, int format, int flags) } alsa_format.rate = ao_data.samplerate; - alsa_format.voices = ao_data.channels*2; + alsa_format.voices = ao_data.channels; alsa_format.interleave = 1; if ((err = snd_pcm_open(&alsa_handler, 0, 0, SND_PCM_OPEN_PLAYBACK)) < 0) -- cgit v1.2.3