From: <ad...@mc...> - 2002-09-05 08:55:19
|
ale...@at... wrote: > > I was a little perturbed by how much system time was being consumed > when playing mp3s on the dc, so I went looking around. The main problem > seems to be the busy wait in aica_audio_tidy_buffers() for "high freq" > audio. I changed the 23000 Hz to 48000, and the dc seems to keep up > just fine. For me this made playing a 44100 Hz mp3 go from ~85% system > time to <5%. While I was in there I did some other cleanups and rewrote > the buffer allocation scheme. I haven't done much more than play mp3s, > so use at your own risk. Let me know what you think. I'm not on the > mailing list, so please keep me in the CC. Thanks, > Alex > I'm a bit puzzled, as I have played high sample rate and bit rate MP3s without seeing any real impact on system time etc. But I haven't been using very sophisticated tools to measure it (just looking at 'uptime' really). But I've certainly been able to run this in the background without any noticeable impact on foreground applications. Tell me more about your setup - what player are you using and what tool to measure system time etc. In the meantime I'll remind myself what myy code looks like. Can you post a patch? Adrian |