search for: decode_status

Displaying 3 results from an estimated 3 matches for "decode_status".

2005 Jan 01
1
Re: vpim: bug in icalendar.rb, Icalendar#decode_status
...dur = -dur end + + dur end # Decode iCalendar data into an array of Icalendar objects. Quoteing mmhohman@northwestern.edu, on Fri, Dec 10, 2004 at 11:49:30PM -0600: > Hi, > > I''m running Ruby 1.8.2 preview 3 on OS X. At the end of > Icalendar#decode_status, you don''t return dur if the duration isn''t > negative, i.e. > > if match[1] && match[1] == ''-'' > dur = -dur > end > > is nil if the condition is false. I''ve attached some unit tests showing > that positive durations...
2004 Sep 10
2
Error initializing flac stream decoder.
I've cross-compiled flac for the armv4l processor (rio receiver), and i'm trying to start up a decode thread : #include <FLAC/stream_decoder.h> .... FLAC__StreamDecoder *flac = NULL; flac = FLAC__stream_decoder_new(); if (flac == NULL) { printf("[DECODE] Unable to initalize flac object\n");
2004 Sep 10
2
Error initializing flac stream decoder.
...bytesToCopy = 0; char* inBuffer; if (g->decode_request == DECODE_STOP) return FLAC__STREAM_DECODER_READ_STATUS_ABORT; if (g->eof && bytesAvailable == 0) return FLAC__STREAM_DECODER_READ_STATUS_END_OF_STREAM; g->decode_status = DECODE_RUN bytesToCopy = MIN(bytesAvailable, *bytes); inBuffer = rio_ringbuffer_read( g->readAhead, bytesToCopy); memcpy(buffer, inBuffer, bytesToCopy); if (bytesToCopy < *bytes) *bytes = bytesToCopy; return FLAC__STREAM_DECODE...