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 1FEEWx-0007fF-Rd for garchives@archives.gentoo.org; Tue, 28 Feb 2006 23:45:24 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id k1SNgYaV013683; Tue, 28 Feb 2006 23:42:34 GMT Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.193]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id k1SNZYfs024171 for ; Tue, 28 Feb 2006 23:35:35 GMT Received: by xproxy.gmail.com with SMTP id i26so255wxd for ; Tue, 28 Feb 2006 15:36:09 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:x-accept-language:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=bM3djcAnhEvAmitM8JX0AgF8y8/bGyNp3vtGYO+JCUv9w4MIm58seItg7O4Db/53NXw+Xze07PCs+bIh+5q7qfoOHG6gVSBZNpkvJWqa2V7pLw6f8PUbJJecy6icUYMpSxU6Uo0l7gwRL1yXOW7Lb/IJCt/Rl4C+ImJvlbP4J+8= Received: by 10.70.7.1 with SMTP id 1mr1141368wxg; Tue, 28 Feb 2006 15:36:09 -0800 (PST) Received: from ?192.168.0.14? ( [65.64.221.204]) by mx.gmail.com with ESMTP id h7sm14887wxd.2006.02.28.15.36.08; Tue, 28 Feb 2006 15:36:08 -0800 (PST) Message-ID: <4404DDB7.5050603@gmail.com> Date: Tue, 28 Feb 2006 17:33:11 -0600 From: Mike Myers User-Agent: Mozilla Thunderbird 1.0.7 (X11/20050923) X-Accept-Language: en-us, en Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] mplayer sound issues References: <4404C0B7.60701@yaay.us> <7573e9640602281411i3517986er6a8dca87eacfe684@mail.gmail.com> <4404D386.6010608@gmail.com> <7573e9640602281512s381e1c6oa6085541b1ca5db6@mail.gmail.com> In-Reply-To: <7573e9640602281512s381e1c6oa6085541b1ca5db6@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 37f88f4d-9225-463d-80f5-c844e2fd92dc X-Archives-Hash: efee776e9b06a7dd6c4b1bc48ab0b923 Richard Fish wrote: >On 2/28/06, Mike Myers wrote: > > >>I seem to get that error regardless of what I'm playing. I can play >>some files, like mp3s with the ao=alsa and that message will still >>appear, but it plays anyway. >> >> > >Ok, theorizing time. (ie., I have absolute no idea whether this is >right or not) > >It sounds like this may be related to the sampling frequency of the >generated PCM. If some application (like arts) is using /dev/dsp and >programming a specific rate (like 44100Hz), then when another >application (like mplayer) wants to generate PCM, it must program a >different rate (the wav file in your original message uses a 8000Hz >rate). But the card cannot be changed to the 8kHz rate because the >original application is still "using" the OSS device. > > The weird thing is that this was totally working great before modular Xorg. I'm really thinking it's just a matter of reinstalling something. I just don't know what. Also, when I play the .wav file, it plays for like a split second, and then mplayer just hangs. But I do hear it for that first short second. >If you play through arts, it handles the rate conversions for you, so >everything works. > >You can test this by trying "mplayer -srate 44100 -ao arts file.wav". >You can try different rates, or carefully examine the output of >mplayer with an mp3 to see what rate it is using there. > >One last question: do you have a ~/.asoundrc file, and if so, what is in it? > >-Richard > > > Here's the output from doing that: /Desktop $ mplayer -vo alsa -srate 44100 file.wav MPlayer dev-CVS-060217-04:46-3.4.4 (C) 2000-2006 MPlayer Team CPU: Intel Pentium M Dothan (Family: 6, Stepping: 8) MMX supported but disabled MMX2 supported but disabled CPUflags: MMX: 0 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1 Compiled for x86 CPU with extensions: SSE SSE2 91 audio & 206 video codecs Playing 2006-02-27 13-42-42.wav. Audio file file format detected. ========================================================================== 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: 44100 Hz/1 channels/2 bpf/30104 bytes buffer/Signed 16 bit Little Endian AO: [alsa] 44100Hz 1ch s16le (2 bytes per sample) Video: no video Starting playback... A: 0.0 (00.0) of 2991.0 (49:51.0) ??,?% It does the same, plays for a short second and then it still locks up. I have an mp3 that runs at that rate and it works fine. Thanks a lot for your help and patience so far, btw. I really appreciate it. Mike -- gentoo-user@gentoo.org mailing list