Re: no sound after applications use alsa device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 5/21/07, Al McIntosh <junkmail@xxxxxxxxxxxxxxxxx> wrote:
 > Basically:
>
> 1. `mplayer -ao alsa:device=hw=0.2 test.mpg` (audio works )
> 2. exit mplayer
> 3. `mplayer -ao alsa:device=hw=0.2 test.mpg` (no audio)
> 4. exit mplayer
> 5. `/etc/init.d/alsasound reload`
> 6. `mplayer -ao alsa:device=hw=0.2 test.mpg` (audio works)

Sounds like mplayer leaves mixer in a bad state.  Try "alsactl store"
before 1 and then "alsactl restore" between 2 and 3.  If this works,
do:

alsactl store -f good.state

before 1, then:

alsactl store -f bad.state

between 2 and 3, and post the output of:

diff good.state bad.state

You are exiting mplayer cleanly and not kill()ing it, right?

Lee

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux