[flac-dev] Newbie question about those callbacks

2013-02-09 Thread Johnny Rosenberg
For instance the write_callback thing: client_data – can it be a pointer to just about anything? For instance a pointer to a two-dimensional array? Are those FLAC-WAV and WAV-FLAC examples the only examples available? What would be the best approach to read a FLAC file to an array of some kind? P

Re: [flac-dev] Newbie question about those callbacks

2013-02-09 Thread Erik de Castro Lopo
Johnny Rosenberg wrote: > For instance the write_callback thing: > client_data – can it be a pointer to just about anything? I assume you mean: https://www.xiph.org/flac/api/group__flac__stream__decoder.html#ga13 which defines the type: typedef FLAC__StreamDecoderWriteStatus

Re: [flac-dev] Newbie question about those callbacks

2013-02-10 Thread Johnny Rosenberg
2013/2/10 Erik de Castro Lopo : > Johnny Rosenberg wrote: > >> For instance the write_callback thing: >> client_data – can it be a pointer to just about anything? > > I assume you mean: > > https://www.xiph.org/flac/api/group__flac__stream__decoder.html#ga13 > > which defines the type: > >