Re: [AD] WDSound.c - Added recording functions

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


> I've added the DSound recording code to the _latest_ wdsound.c (from the
> CVS tree) ...

Damn it ;-)
I just realized that the DirectSoundCapture interface isn't part of DirectX
3, but was introduced with DirectX 5. I think we would better postpone
merging the patch for the time being.
But as soon as we have a clear view on the DirectX version issue, we'll
merge it.

> I've also included a modified version of akaitest.c, I think that the
> modified recording code should be used in future releases of Allegro.

I don't understand your modification: according to the docs,
read_sound_input() returns "non-zero" if a buffer has been copied, but we
have no guarantee that this return value matches the buffer size.

--
Eric Botcazou
ebotcazou@xxxxxxxxxx



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/