From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org)
	by nuthatch.gentoo.org with esmtp (Exim 4.54)
	id 1FEDGG-0003zF-Iy
	for garchives@archives.gentoo.org; Tue, 28 Feb 2006 22:24:05 +0000
Received: from robin.gentoo.org (localhost [127.0.0.1])
	by robin.gentoo.org (8.13.5/8.13.5) with SMTP id k1SMKJTu009549;
	Tue, 28 Feb 2006 22:20:19 GMT
Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.197])
	by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id k1SMApQ4006365
	for <gentoo-user@lists.gentoo.org>; Tue, 28 Feb 2006 22:10:52 GMT
Received: by wproxy.gmail.com with SMTP id 71so545772wra
        for <gentoo-user@lists.gentoo.org>; Tue, 28 Feb 2006 14:11:30 -0800 (PST)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
        s=beta; d=gmail.com;
        h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
        b=s6s1A+pDInqEyqf4hgmtNBC5QEn7X2M0N1bKxeDEkR5ruFzKez7g16WuCRMAP20LShcKJtXZt3xWu9RHHDEPuyXgZQ9vwqORGXy4QJSLxiCLwXTq49s0A9G8sfC19ZpGtOTZcPUdyBRtnpahcdxLXbrT5X3UORrLm2wqAVolygA=
Received: by 10.54.126.20 with SMTP id y20mr1184246wrc;
        Tue, 28 Feb 2006 14:11:30 -0800 (PST)
Received: by 10.54.69.19 with HTTP; Tue, 28 Feb 2006 14:11:30 -0800 (PST)
Message-ID: <7573e9640602281411i3517986er6a8dca87eacfe684@mail.gmail.com>
Date: Tue, 28 Feb 2006 15:11:30 -0700
From: "Richard Fish" <bigfish@asmallpond.org>
Sender: richard.j.fish@gmail.com
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] mplayer sound issues
In-Reply-To: <4404C0B7.60701@yaay.us>
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Disposition: inline
References: <4404C0B7.60701@yaay.us>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by robin.gentoo.org id k1SMApQ4006365
X-Archives-Salt: 0db00438-d464-4707-94b3-ba385dfd7162
X-Archives-Hash: b0574083de75c28cfe160d698393be6f

On 2/28/06, Mike Myers <fluffymikey@gmail.com> wrote:
> Opening audio decoder: [pcm] Uncompressed PCM audio decoder
> AUDIO: 8000 Hz, 1 ch, s16le, 128.0 kbit/100.00% (ratio: 16000->16000)
> Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
> ==========================================================================
> [AO OSS] audio_setup: Can't open audio device /dev/dsp: Device or
> resource busy
> alsa-init: 1 soundcard found, using: default
> alsa: 8000 Hz/1 channels/2 bpf/5460 bytes buffer/Signed 16 bit Little Endian
> AO: [alsa] 8000Hz 1ch s16le (2 bytes per sample)

What version of alsa-lib do you have, and do you use the in-kernel
alsa drivers or the alsa-driver package?  Which version?

Does anything change if you do "mplayer -ao alsa file.wav"?

The above "resource busy" error indicates that something is using the
legacy OSS interface.  IIRC, older versions of alsa could not share
this interface, and in fact would prevent other applications from
using the sound card at all if something was using this interface.

Maybe try an "lsof /dev/dsp" to see what is using the old OSS interface...

-Richard

-- 
gentoo-user@gentoo.org mailing list