Home | History | Annotate | Download | only in libFLAC

Lines Matching refs:buffer

105 FLAC__OggDecoderAspectReadStatus FLAC__ogg_decoder_aspect_read_callback_wrapper(FLAC__OggDecoderAspect *aspect, FLAC__byte buffer[], size_t *bytes, FLAC__OggDecoderAspectReadCallbackProxy read_callback, const FLAC__StreamDecoder *decoder, void *client_data)
115 * its internal buffer. It does not try to grow its internal buffer
116 * to accomodate a whole frame because then the internal buffer size
119 * Ogg however grows its internal buffer until a whole page is present;
126 * larger than libFLAC's internal buffer.
142 /* the rest of the packet will fit in the buffer */
144 memcpy(buffer, aspect->working_packet.packet, n);
146 buffer += n;
150 /* only n bytes of the packet will fit in the buffer */
151 memcpy(buffer, aspect->working_packet.packet, n);
153 buffer += n;
235 /* double protection; this will happen if the read callback returns more bytes than the max requested, which would overflow Ogg's internal buffer */