Lines Matching full:samples
92 /* size in samples */
103 and 2 samples if stereo. This should be distinguished from what the
105 a set of consecutive samples.
132 static audioinSample gSamplesBufferCircularFifo[SAMPLES_BUFFER_SIZE]; /* circular buffer that buffers the incoming samples */
134 static int gWriteIndexPointer = 0; /* write pointer in the circular FIFO samples buffer */
135 static int gReadIndexPointer = 0; /* read pointer in the circular FIFO samples buffer */
339 * samples from the codec and store them in a big circular *
407 /* buffer of 16 bits samples */
427 /* NOTE: here a frame is comprised of 1 sample if mono, 2 samples if stereo, etc */
428 int iReadSamples = 0; /* number of samples acquired by the codec */
437 /* AudioRead() - output: number of frames (mono: 1 sample, stereo: 2 samples)*/
446 if ( getRecord ( ) ) /* else continue to read from driver but discard samples */
456 /* x: index for start of input samples; y: index for output sample */
461 /* update the number samples */
507 It should simply read from the low level driver, store the filtered samples in
519 /* pass samples to callback function who should deallocate the buffer and structure */
523 /* samples are available to read */
611 /* buffer of 16 bits samples */
623 /* NOTE: here a frame is comprised of 1 sample if mono, 2 samples if stereo, etc */
624 int iReadSamples = 0; /* number of samples acquired by the codec */
643 if ( getRecord ( ) ) /* else continue to read from driver but discard samples */
653 /* x: index for start of input samples; y: index for output sample */
658 /* update the number samples */
708 It should simply read from the low level driver, store the filtered samples in
751 /* pass samples to callback function who should deallocate the buffer and structure */
765 /* samples are available to read */
950 /* prepare to read samples */
978 unsigned long u32SamplesPerFrame, /*@parm [in] Size, in samples, of each individual frame. */
1068 unsigned long u32NbrOfSamples, /*@parm [in] <nl><bold Input:> Number of samples requested per callback */
1123 /* stop recording audio samples */
1126 /* stop reading audio samples */
1129 //wait for the thread to stop reading samples.
1177 * non in 'start' status, the samples are just ignored *
1223 * non in 'start' status, the samples are just ignored *
1237 /* stop recording (discard samples) */
1270 /* wait until we have enough samples */
1279 /* copy all samples into the input buffer */
1293 /* enough samples */
1373 unsigned long u32SamplesPerFrame, /*@parm [in] Size, in samples, of each individual frame. */