search for: _0_binary

Displaying 1 result from an estimated 1 matches for "_0_binary".

Did you mean: 2_binary
2004 Sep 10
2
FLAC->mpc transcoding
...Encoder 1.02 --Beta-- (C) 1999-2002 Buschmann/Klemm/Piecha FLAC does not work properly under Windows. They have forgotten to switch to binary mode if reading/writing from/to stdin/stdout, so the data I got is corrupted and unusable. The problem can be fixed by adding: _setmode ( _fileno (fp), _0_BINARY ); where fp is stdin or stdout if used as data source or destination. More sophisticated code you can find in the mppdec package in the file mppdec.h which is suitable for a larger list of Operating Systems/Cmpilers. This problem has nothing to do with Windows, DOS or MacOS, it is a problem relat...