[icecast-dev] Some diffs to libshout for MacOSX
Brendan Cully
brendan at icecast.org
Fri Feb 8 07:28:13 PST 2002
I've applied this, with the difference that the select timeout is 30
seconds to match the poll timeout. It looks like libshout treats a
timeout as a fatal error?
On Monday, 04 February 2002 at 08:32, SKoT McDonald wrote:
> Resubmission of patches with curteous nods from the MusicKit Project...
>
> - SKoT
>
> ----- Original Message -----
> From: "Stephen Brandon" <stephen at brandonitconsulting.co.uk>
> To: <icecast-dev at xiph.org>
> Sent: Wednesday, January 16, 2002 1:26 PM
> Subject: [icecast-dev] Some diffs to libshout for MacOSX
>
>
> > Hi,
> >
> > I'm part of a project developing the open source SndKit and MusicKit,
> which
> > are ObjC frameworks originally from NeXTSTEP, but now on MacOSX and
> GNUstep.
> >
> > We use libshout.a in part of the SndKit to enable us to schedule and
> process
> > audio to get sent to shoutcast/icecast servers - pretty cool.
> >
> > Anyway, when compiling libshout on MacOSX it fails because it does not
> have
> > sys/poll.h, but uses select() instead of poll().
> >
> > I have therefore made some changes/additions to libshout/configure.in to
> > autodetect the presence of sys/poll.h. In sock.c, I use #ifdef statements
> to
> > then use the select() or poll() behaviour depending on the presence of the
> > sys/poll.h header.
> >
> > I have attached 2 diff files: one for configure.in, and one for sock.c.
> >
> > I hope that these meet with your approval -- and if so, could you please
> put
> > them into your CVS ASAP, because we are now starting to rely on libshout.a
> > for all our developers/users, and it's a pain to compile on MacOSX without
> > these changes.
> >
> > ps I got hold of libshout via the ices 0.2.2 source package. Is libshout
> > going to remain as a part of that package?
> >
> > Cheers,
> > Stephen Brandon
> > stephen at brandonitconsulting.co.uk
> >
<p><p><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-dev-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-dev
mailing list