Kirk Bauer wrote:
On Tue, 24 Feb 2004, John Haxby wrote:


When I tried this, I needed "rate 44100" ... the re-sampling would make aplay use a lot of CPU time. Also, I don't know if there's a transcription error, but "buffer_size 6553" looks like a typo -- it's not a power of two, but 65536 is of course.


Thanks, I made both of your suggested changes and it reduced CPU usage
down to 20% per aplay process... but that still seems like too much!  Is
this normal?

13935 root      15   0  1804 1544  1412 R    26.2  0.3   0:41 aplay
13928 root      17   0  1804 1544  1412 R    22.6  0.3   0:42 aplay
13919 root      15   0  1828 1568  1480 R    22.2  0.4   0:41 aplay
13927 root       1 -20  4976 4976  4780 S <   5.7  1.2   0:09 mpg123
13934 root       1 -20  4868 4868  4672 S <   5.1  1.2   0:09 mpg123
13918 root       1 -20  5056 5056  4860 S <   4.7  1.3   0:09 mpg123



Seems high to me. I'm just using alsaplayer and it all seems to be jsut a few percent...



28156 mknecht 15 0 6024 6020 3896 S 3.0 1.2 0:01.64 alsaplayer


28157 mknecht 15 0 6024 6020 3896 S 1.3 1.2 0:00.67 alsaplayer



-------------------------------------------------------
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

Reply via email to