[vorbis-dev] Winamp plug-in; http streaming revisited

Chris Moeller chris at kode54.net
Wed Feb 28 23:38:46 PST 2001


----- Original Message -----
From: "Matthew James Brown" <mbrown at hotteam.org>
To: <vorbis-dev at xiph.org>
Sent: Wed, Feb 28, 01 10:21 AM
Subject: Re: [vorbis-dev] Winamp plug-in; http streaming revisited

> I am getting some reproducable errors on my system though.  It seems that
> when the stream is at the end of a playlist it tends to cause the
streaming
> support to crash at times and not want to start up again.
isOggUrl problem fixed, hopefully solves this problem.

Also moved httpStopBuffering into httpClose, made minor changes to vorbis.c
to accomodate.

Commented out this section of code from httpRead:

 // Don't give any data back if we're supposed to be dead
 if (pThreadData->killBufferThread)
  return 0;

What if the http stream finishes (end of file; thread finishes) before
vorbis has read all of the file out of the buffer?

    -Chris M.


<HR NOSHADE>
<UL>
<LI>application/octet-stream attachment: vorbis.c
</UL>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vorbis.c
Type: application/octet-stream
Size: 12270 bytes
Desc: not available
Url : http://lists.xiph.org/pipermail/vorbis-dev/attachments/20010228/ebabe8cc/vorbis-0001.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: httpstream.c
Type: application/octet-stream
Size: 19561 bytes
Desc: not available
Url : http://lists.xiph.org/pipermail/vorbis-dev/attachments/20010228/ebabe8cc/httpstream-0001.obj


More information about the Vorbis-dev mailing list