[MPlayer-dev-eng] libao3

Anders Johansson ajh at atri.curtin.edu.au
Mon Nov 19 12:31:25 CET 2001


Hi,

> On Sunday, 18. November 2001 11:45, you wrote:
> > I have been writing on libao3.
> > This is what I have come up with so far, and I need feedback.
> >
> > This is what I have made:
> >
> > I have made two changes to the old interface:
> > 1. The global variables are now in a struct.
> > 2. get_delay() now returns a float.
> IMHO this doesn't qualify for a new major ao version so patch should be done 
> against libao2 dir not into new dir duplicating the code.

Ok, I wasn't sure.

I'll try to port as many drivers as I can to the new interface and
then make a big patch.

Do you think I should port the sun, sgi and alsa drivers as well even
though I can't test them? It shouldn't be a problem since the changes
are so small, but I might brake them.

I'll leave the dxr3 diver to David.

I have been thinking of changing the control interface to 
int control(int cmd,void* arg)

I didn't do it this time because of our previous discussion. The
reason I want to do it is that if one wants to send a pointer as arg
on a machine with 64 bit architecture that defines int as 32 bits it
will segfault, void* would avoid this problem.... What do you think.

Cheers,
//Anders

> -- 
> Best Regards,
> 	Atmos
> ____________________________________________
> - MPlayer Developer - http://mplayerhq.hu/ -
> ____________________________________________
> 
> _______________________________________________
> MPlayer-dev-eng mailing list
> MPlayer-dev-eng at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-dev-eng



More information about the MPlayer-dev-eng mailing list