Lines Matching defs:buffer
54 char buffer[4096];
59 vsprintf((char *)buffer, (char *)format, ap);
62 fprintf(file, "%s", buffer);
309 /* Enlarge the output buffer if needed. */
325 /* Enlarge the input buffer if needed. */
341 /* Add the input samples to the input buffer. */
347 short *buffer;
356 buffer = stream->inputBuffer + stream->numInputSamples*stream->numChannels;
358 *buffer++ = (*samples++)*32767.0f;
364 /* Add the input samples to the input buffer. */
382 /* Add the input samples to the input buffer. */
388 short *buffer;
397 buffer = stream->inputBuffer + stream->numInputSamples*stream->numChannels;
399 *buffer++ = (*samples++ - 128) << 8;
419 /* Just copy from the array to the output buffer */
434 /* Just copy from the input buffer to the output buffer. Return 0 if we fail to
435 resize the output buffer. Otherwise, return numSamples */
462 short *buffer;
472 buffer = stream->outputBuffer;
475 *samples++ = (*buffer++)/32767.0f;
520 short *buffer;
530 buffer = stream->outputBuffer;
533 *samples++ = (char)((*buffer++) >> 8) + 128;
577 /* Return the number of samples in the output buffer */
585 the down-sample buffer. If numChannels is greater than one, mix the channels
797 /* Just move the new samples in the output buffer to the pitch buffer */
821 /* Remove processed samples from the pitch buffer. */
923 /* Leave at least one pitch sample in the buffer */
1009 we fail to resize an input or output buffer. Also scale the output by the volume. */
1038 return 0; /* Failed to resize output buffer */
1046 we fail to resize an input or output buffer. Also scale the output by the volume. */
1085 /* Write floating point data to the input buffer and process it. */