On Mon, 23 Feb 2004, Kirk Bauer wrote: > I have a M-Audio Delta 410 and I seem to have it working in 4xstereo > mode. Now I'm trying to refine my technique, as right now the only way > I know to send MP3s to a specific device (or channel) is: > > mpg123 -s test.mp3 | aplay --device=channel2 --channels=2 -f cd > --buffer-time=1000000 - > > But the problem is that aplay takes up a huge amount of CPU time. Here > is output from 'top' with two such processes running on different > channels: > > PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND > 4229 root 15 0 1876 1616 1476 R 32.6 0.4 0:38 aplay > 4235 root 15 0 1876 1616 1476 R 30.6 0.4 0:38 aplay > 4228 root 0 -20 3500 3500 3304 S < 5.5 0.9 0:06 mpg123 > 4234 root 0 -20 3436 3436 3240 S < 4.7 0.8 0:05 mpg123 > > Note that each 'aplay' is taking over 30% of my CPU time while the > actual MP3 decoder is only taking around 5%.
What's your config? Which plugins do you use? Jaroslav ----- Jaroslav Kysela <[EMAIL PROTECTED]> Linux Kernel Sound Maintainer ALSA Project, SuSE Labs ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user