On Saturday 24 March 2007 21:18, Nigel Henry wrote: > I can play more than one audio app at the same time using my Ensoniq card > (ens1371 driver). For example I can start Opera as "aoss opera", and access > http://www.bbc.co.uk/radio4. This site uses the bbc radioplayer, which uses > realplayer, an OSS app. I hjave no problems with this, and can also play at > the same time a .ogg file on MhWaveedit. > > What I am trying to do is to get a desktop launcher for a music app to play > a .wav file, and also start the music app. I have setup a shellscript for > both the .wav file, and the music app, and as long as no other audio app is > running this works ok. > > If another audio app is running, MhWaveedit, or the Internet radio, when > clicking on the launcher for the audio app that also starts with the .wav, > the .wav ends up in a queue, and nothing happens until I stop the currently > running audio app. > > I thought this might have been a problem with "play", so tried "aplay" with > the following. > aplay -D hwplug:0 Jw_120_G_Cuban2.wav > Nigel. Sorry for that long rambling post. Problem is solved. It does help if you use the correct plugin with aplay, as below. aplay -D plug:dmix Jw_120_G_Cuban2.wav And no .asoundrc required. Nigel. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user