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
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
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:
>
>