Displaying 1 result from an estimated 1 matches for "useflac__stream_encoder_init_fil".
Did you mean:
useflac__stream_encoder_init_file
2010 Feb 08
0
Use FLAC__stream_encoder_init_FILE instead of FLAC__stream_encoder_init_file
...t;
>
The code worked for years, recently I made a unicode version of the app, it
works with the "normal" filename, but not with the filename which contains
some unicode characters(Error Code 6, *FLAC__STREAM_ENCODER_IO_ERRO).*
*
*
According to the flac documents, it seems that I
should useFLAC__stream_encoder_init_FILE instead of
FLAC__stream_encoder_init_file,
>> FLAC__StreamEncoder *encoder = 0;
>
>
>> if((encoder = FLAC__stream_encoder_new()) == NULL)
>
> {
>
> printf(_T("ERROR: allocating encoder"));
>
> return;
>
> }
>
>
>> FLAC__stream_encod...