[MPlayer-cygwin] [PATCH] ao directsound

Sascha Sommer saschasommer at freenet.de
Thu Sep 23 14:21:46 CEST 2004


> > Or play with the buffersize.
>
> This does somehow help.  Currently in ao_dsound.c there is
>
> #define BUFFERSIZE 32768
>
> If I change this to
>
> #define BUFFERSIZE 932768
>
> all problems go away.
>
> Nevertheless the values
>
> #define BUFFERSIZE 957504
> #define BUFFERSIZE 917504
>
> don't work.  This completely mystifies me.
>

How do you define don't work?
Try with smaller values (32768*2, *4 etc).

> > However I'm afraid that the problem might be that your soundcard
> > returns inaccurate values with
> > IDirectSoundBuffer_GetCurrentPosition. Both timing and buffering
> > rely on this.
>
> Might well be possible.  I updated the driver to no avail.  Is there
> any way to test whether the audio driver is broken?
>

No idea.

Sascha




More information about the MPlayer-cygwin mailing list