Frank Barknecht wrote:
> 
>> Now I have a new error: a 5-second wav file takes an infinite
>> time to aplay, with no sound output. I have to abort and kill it.
>
> It may not seem so, but this it's much better. My (string) guess is,
> that some other program is occupying the sound devices now. Do you run
> some sound daemon like Artsd under KDE or esound with Gnome? 
>
Yes, artsd is running. Let me kill it. It seems that there's nothing
else (ps aux | grep snd is empty)

> And you can find out if something and who is using
> your soundcard with fuser:
>
> $ fuser /dev/snd/pcmC0D0p
> /dev/snd/pcmC0D0p:   10084 10084m 10086 10086m 10087 10087m 10088 10088m
> 10090 10090m 10091 10091m 10095 10095m
>
Nope. fuser /dev/snd/pcmC0D0p returns an empty string.

> I'm not sure about this, can someone else confirm this? But anyway,
> you can at first try without that measure.
>
Too late: I have used the snddevices command.

>> Oops. lsmod | grep oss returns _no_ lines at all. What does it mean?
>
> This means, that none of ALSA's OSS modules is loaded and that xmms
> will probably not work yet. It might also be, that after you tried
> running xmms, the modules with get loaded afterwards. You should then
> see them.
>
Ok, let me try aplay now that I killed artsd

No, nothing changed. It still runs for an infinite time, and then I
have to abort it with control-Z

OTOH, after aborting, there's something in fuser /dev/snd/pcmC0D0p,
namely:

  /dev/snd/pcmC0D0p:    1696  1696m

This 1696 is the aplay that I aborted but didn't kill.

Alberto Monteiro



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to