FLAC Re: [MPlayer-dev-eng] wishlist again and again

D Richard Felker III dalias at aerifal.cx
Fri Jun 6 23:51:19 CEST 2003


On Fri, Jun 06, 2003 at 11:33:35PM +0200, Arpi wrote:
> Hi,
> 
> > > LOL, an even stupider design. Wow, where do they get the idiots to
> > > make this stuff??
> > 
> > from xiph.org, where else? (the authors of .ogg container and other idiotism)
> 
> btw it isn't so bad.
> 
> i've hacked together a small sample app for flac file decoding, it can be
> easily transformed to ad_flac.c (store sh_audio in clientdata, implement
> read callback as wrapper to demuxer, implement write callback as channel
> interleaver to sh_audio->audio_buffer, and in the decoder() func keep
> calling FLAC__stream_decoder_process_single() until EOF or enough data
> decoded)

Oh, I thought you had to make your whole program a callback, like with
GLUT or whatever. :)

Rich



More information about the MPlayer-dev-eng mailing list