|
From: Alex W. <ale...@at...> - 2002-09-07 01:33:15
|
Adrian,
If you're not willing to take it as is, you could always add a build
option or module option to skip the sleep at a certain frequency
threshold. Since most people are building their own kernel, that
would make for a win-win. Personally, I'm trying to get my dc to the
point that I can use it as a network mp3 player w/ a web front-end
for song selection... I think the less cpu hungry audio driver will
manage that just fine. Thanks,
Alex
Adrian McMenamin wrote:
> Alex,
>
> Well, having tested this I'm not inclined to import it - though I am open to
> persuasion.
>
> I had no problems at all with playing mp3s or even some video mpegs (including
> the famous dancemonkeyboy.mpeg) but when I played a *very* demanding mpeg
> with mplayer there were both clicks and repeated audio. Even with -framedrop
> specified the clicks remained, though there were no repeats.
>
> The judgement is a fine one (mplayer isn't up to playing the mpeg in sync with
> the current aica driver without -framedrop, but it doesn't click or repeat
> either). But as the sleeping doesn't free up extra computing time for
> mplayer, it generated only bad things for mplayer's performance, rather than
> anything positive.
>
> I accept that your buffering code is neater than the existing code and would
> be happy to add that regardless.
>
> On the driver - what do others think? This is really about multitasking - is
> anybody doing that and having problems with sound? If so, then maybe Alex's
> patch should go in....
>
> Let me know
>
>
> Adrian
>
|