From: Mike Myers <fluffymikey@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] mplayer sound issues
Date: Tue, 28 Feb 2006 17:33:11 -0600 [thread overview]
Message-ID: <4404DDB7.5050603@gmail.com> (raw)
In-Reply-To: <7573e9640602281512s381e1c6oa6085541b1ca5db6@mail.gmail.com>
Richard Fish wrote:
>On 2/28/06, Mike Myers <fluffymikey@gmail.com> 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
next prev parent reply other threads:[~2006-02-28 23:45 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-28 21:29 [gentoo-user] mplayer sound issues Mike Myers
2006-02-28 22:11 ` Richard Fish
2006-02-28 22:49 ` Mike Myers
2006-02-28 23:03 ` Richard Fish
2006-02-28 23:22 ` Mike Myers
2006-02-28 23:12 ` Richard Fish
2006-02-28 23:33 ` Mike Myers [this message]
2006-03-01 6:58 ` Mike Myers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4404DDB7.5050603@gmail.com \
--to=fluffymikey@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox