[MPlayer-dev-eng] audio decoding questions

Felix Buenemann atmosfear at users.sourceforge.net
Sun May 26 23:58:07 CEST 2002


On Tuesday 21 May 2002 10:09, Alexander Neundorf wrote:
> For the video stuff the decode_foo_init() functions can return a "context
> pointer", which I use to put the decoder (a dv_decoder_t) and some other
> things in. This "context" can be given to the decode_foo(...); function.
>
> Such a context doesn't exist for the audio functions. Where should I put my
> stuff in these cases ? Simply put them globally into my source files ?
I think what you need are the *buffer* vars inside the sh_audio struct, or you 
need context beyong buffer state?
-- 
Best Regards,
        Atmos
____________________________________________
- MPlayer Developer - http://mplayerhq.hu/ -
____________________________________________



More information about the MPlayer-dev-eng mailing list