Displaying 2 results from an estimated 2 matches for "pthreaddata".
Did you mean:
qthreaddata
2001 Feb 27
1
Winamp plugin; http streaming
...boundary="----=_NextPart_000_0093_01C0A035.B08D3950"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Changing this line from httpstream.c in the BufferThread function:
bytesRead =3D recv(pThreadData->tcpSocket, pThreadData->circularBuffer + =
pThreadData->circularBufferEnd, 1, 0);
to read as follows:
bytesRead =3D recv(pThreadData->tcpSocket, pThreadData->circularBuffer + =
pThreadData->circularBufferEnd, bytesToRead, 0);
peeds up streaming noticeably, as the plug-in doesn...
2001 Mar 01
1
Fw: Winamp plug-in; http streaming revisited
...l 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
</U...