[icecast] new utility - ezstream

Michael Smith msmith at xiph.org
Mon Feb 2 02:01:13 UTC 2004



On Saturday 31 January 2004 08:27, oddsock wrote:
> At 03:07 PM 1/30/2004, you wrote:
> >Thanks for your work on this oddsock.  It's a major feature that's been
> >missing from the Win32 environment.  I presume you will be offering a
> > Win32 binary on your site at some stage.
>
> why sure! http://www.icecast.org:8082/files/ezstream_win32_0.1.0_setup.exe
>
> also, a note of mention, reading from stdin seems to be broken on win32,
> but works very well on unix...but hey, this is a first revision :)
>
> oddsock
>

I haven't yet looked at the code, but for stdin to work correctly on windows, 
you usually need to call:
_setmode(_fileno(stdin), _O_BINARY);

That's for MSVC. There are different variations on this for other platforms 
and other win32 compilers - see oggenc/platform.c:setbinmode() if you need to 
know.

Mike

<p>--- >8 ----
List archives:  http://www.xiph.org/archives/
icecast project homepage: http://www.icecast.org/
To unsubscribe from this list, send a message to 'icecast-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Icecast mailing list