[MPlayer-cvslog] r25217 - trunk/libao2/ao_null.c

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Sat Dec 1 10:52:18 CET 2007


Hello,
On Sat, Dec 01, 2007 at 02:33:59AM +0200, Uoti Urpala wrote:
> On Sat, 2007-12-01 at 00:54 +0100, Reimar Döffinger wrote:
> > On Sat, Dec 01, 2007 at 01:36:23AM +0200, Uoti Urpala wrote:
> > > If you make buffersize depend on channel count you could go all the way
> > > and make it depend on samplerate and samplesize to buffer a constant
> > > duration of audio.
> > 
> > Unless I want to buffer a full second I'd have to do a division and
> > quite a bit of additional checking mess, which seemed like a pointless
> > effort to me.
> 
> I don't see what would be that complicated, but I'll do it myself then
> if you find it so hard...

Well, obviously I can just copy-and-paste it from somewhere, but this
kind of code ends up buggy all the time and why add "complicated" code
to something that is not maintained and hardly ever tested and thus
especially susceptible to breakage _before_ we have found a good reason
to?

Greetings,
Reimar Döffinger



More information about the MPlayer-cvslog mailing list