lkml.org 
[lkml]   [2003]   [Jul]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: 2.5.74-mm1
Date
On Tuesday 08 July 2003 00:03, Davide Libenzi wrote:
> > > Try to play with SNDCTL_DSP_SETFRAGMENT. Last time I checked the kernel
> > > let you set a dma buf for 0.5 up to 1 sec of play (upper limited by
> > > 64Kb). Feeding the sound card with 4Kb writes will make you skip after
> > > about 50ms CPU blackout at 44KHz 16 bit. RealPlayer uses 16Kb feeding
> > > chunks that makes it able to sustain up to 200ms of blackout.
> >
> > That's just fiddling, it doesn't deal with the basic problem. Anyway,
> > big buffers have their own annoyances. Have you tried the graphic
> > equalizer in xmms lately? A one second lag on slider adjustment is not
> > nice.
>
> That's not fiddling. It is tuning your app so that it won't require
> realtime when it is not needed.

But realtime is needed, because there is a deadline for each buffer-fill.

Regards,

Daniel

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:46    [W:0.315 / U:0.312 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site