5 Nov
2010
5 Nov
'10
2:31 p.m.
Adam Rosenberg wrote:
I am trying to decode 8 MP3 files simultaneously. Each file is 3 minutes 11 seconds long. When I just decode the files and copy the PCM data to memory it takes 2 minutes 36 seconds. When I do the same test after opening 8 ALSA PCM streams and while writing data to them it takes 4 minutes 37 seconds. This is much too slow for what should be a simple copy operation.
Are you using the "hw" device? Otherwise, it's not a simple copy op.
How much CPU does "aplay -D hw -t raw -f dat /dev/zero" use?
Regards, Clemens