Just to keep you posted, if you're still interested;

I migrated to alsa-drivers from using the kernel drivers.  That alone
didn't seem to fix anything.  So, I updated to the 1.0_pre7-r1 version
of mplayer and that seemed to take care of the alsa issue with the wav
files.

I'm still having trouble playing dvds though.  But that's really a
separate issue.

On 2/28/06, Mike Myers <[EMAIL PROTECTED]> wrote:
> Richard Fish wrote:
>
> >On 2/28/06, Mike Myers <[EMAIL PROTECTED]> 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
>


--
Mike Myers
[EMAIL PROTECTED]
http://www.yaay.us

-- 
gentoo-user@gentoo.org mailing list

Reply via email to