Displaying 3 results from an estimated 3 matches for "buffer_submit_data".
2006 Jan 27
0
patch for bugs in vorbis-tools-1.1.1
...fixes a problem with thread race causing lockup if you press
Ctrl-C
Ctrl-C sets sig_request.cancel, buffer thread exits if it sees
sig_request.cancel
However, if Ctrl-C was pressed here
do {
if (nthc-- == 0) {
----------------> Ctrl-C
if (audio_buffer)
buffer_submit_data(audio_buffer, convbuffer, ret);
else
audio_play_callback(convbuffer, ret, eos, &audio_play_arg);
nthc = options.nth - 1;
}
, the code gets into buffer_submit_data that will wait on buf->write_cond
that is never signalled because the buffer thread...
2004 Aug 06
2
OGG123 frozen under certain circumstances while listening at icecast
...\006 bM\035\217\005pé\\\\Ö·Gªö\004=U[\213\020Võ&\234!^uÁ\223C´:nÜ\004ùU\006ï|Q\"\2015sØY\027ãÆÊþ͹Ð\e\223r\rSÎC\204a_å\221û&ò\006Ó\232\210\216lÿJ½À@
\201Õõ\023¢Ã×D(k¯±ÅáÊÕ\036ç 0hý\024;\216p\224\026\t®ýýM\032$°\020è¤P\022Ð\224_\231E\b", size=832) at buffer.c:313
#5 0x0804b027 in buffer_submit_data (buf=0x8056d70, data=0x806e244 "OggS", nbytes=2171) at buffer.c:513
#6 0x0804d8f8 in write_callback (ptr=0x806e244, size=1, nmemb=2171, arg=0x8055b98) at http_transport.c:68
#7 0x4009b5b0 in Curl_client_write () from /usr/lib/libcurl.so.2
#8 0x400ab84f in Curl_readwrite () from /usr/li...
2002 Oct 05
2
ogg123 remote interface
...g->stat_format, audio_buffer,
- source, decoder);
- next_status = status_interval;
- } else
- next_status -= ret;
-
-
- /* Write audio data block to output, skipping or repeating chunks
- as needed */
- do {
-
- if (nthc-- == 0) {
- if (audio_buffer)
- buffer_submit_data(audio_buffer, convbuffer, ret);
- else
- audio_play_callback(convbuffer, ret, eos, &audio_play_arg);
-
- nthc = options.nth - 1;
- }
-
- } while (++ntimesc < options.ntimes);
-
- ntimesc = 0;
+ /* Check to see if the audio format has changed */
+ if (!audi...