FLAC Re: [MPlayer-dev-eng] wishlist again and again
Arpi
arpi at thot.banki.hu
Sat Jun 7 01:32:32 CEST 2003
Hi,
> 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. :)
or xmms... :(
A'rpi / Astral & ESP-team
--
Developer of MPlayer G2, the Movie Framework for all - http://www.MPlayerHQ.hu
More information about the MPlayer-dev-eng
mailing list