Displaying 1 result from an estimated 1 matches for "flac__stream_encoder_io_erro".
2010 Feb 08
0
Use FLAC__stream_encoder_init_FILE instead of FLAC__stream_encoder_init_file
...> printf(_T("Error Code: %d"),(int)InitStatus);
>
> }
>
>
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:...