<P>Hi guys. First off, keep up the good work on FLAC: great now, and looks promising in the future :)</P>
<P>I wonder if anyone's aware of the issues with FLAC-&gt;mpc transcoding: it works under linux but not windows. Sorry if this has been bought up&nbsp;loads before - i couldn't see it here.</P>
<P>Here's the message mppenc 1.02 comes up with on trying to encode a .flac :</P>
<P>"MPC Encoder 1.02&nbsp; --Beta--&nbsp; (C) 1999-2002 Buschmann/Klemm/Piecha<BR>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:</P>
<P>&nbsp; _setmode ( _fileno (fp), _0_BINARY );</P>
<P>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.</P>
<P>This problem has nothing to do with Windows, DOS or MacOS, it is a problem related with the inflexible way C/C++ handles text files, so a translation layer in the C runtime library is necessary to tranlsate the native text representation to the only text representation C knows (Unix). This translation which is done inside the program (inside the linked library) must be switched off."</P>
<P>Is a fix easy, possible, probable? Maybe it could be added to the [ever-growing] todo list: direct transcoding would save a lot of hassle.</P>
<P>Cheers, tonderai</P><BR><BR>Room 7014, Wilson House, 38-76 Sussex Gdns, LONDON W2 1UF

dbassendine@yahoo.com or david.r.bassendine@ic.ac.uk

mobile no. - 07780708357<p><br><hr size=1><b><a href=http://uk.yahoo.com/mail/tagline/?http://fifaworldcup.yahoo.com/fc/en/spl>Sign up to watch the FIFA World Cup video highlights from your desk!</a></b><br><br>

http://fifaworldcup.yahoo.com/fc/en