Lines Matching defs:buffer

74 ALSA uses the ring buffer to store outgoing (playback) and incoming (capture,
97 data can be transferred (the ring buffer is full in our case). In blocked
99 ring buffer (playback) or until there are new samples (capture). The ALSA
136 used and the ring buffer is full (playback) or empty (capture).
187 read from the internal ring buffer using I/O routines
225 buffer to communicate with the device while ALSA library manages this space
243 Three kinds of organization of ring buffer memory areas exist in ALSA API.
247 and non-interleaved ring buffer organization.
256 to allow the ALSA library update the pointers to ring buffer. This kind of
313 channels, ring buffer size etc. The software parameters contains the
336 Each channel has a separate buffer in the case. The complex direct memory
365 on every period time boundary. Corresponding position in the ring buffer
376 stream. For playback, if the frame count in the ring buffer is equal or greater
381 greater than the ring buffer size (in frames). For that simply using a large
388 It means, for playback, the empty samples in ring buffer and for capture,
389 the filled (used) samples in ring buffer.
394 buffer gets filled with frames of silence according to the silence size parameter
422 is less accurate, because ring buffer pointers are updated in kernel drivers
428 in the ring buffer from hardware and calls #snd_pcm_avail_update() then.
432 For playback, it means count of frames in the ring buffer before
434 in the ring buffer before the next frames will be captured from ADC. It works
473 the capture device has some samples in the ring buffer otherwise
937 * min period time, max buffer size, min tick time. If no mutually
1141 * If the application is interested in the fill level of the playback buffer
1314 * The pending samples on the buffer are ignored.
1553 * \param buffer frames containing buffer
1562 * all requested frames are played or put to the playback ring buffer.
1569 snd_pcm_sframes_t snd_pcm_writei(snd_pcm_t *pcm, const void *buffer, snd_pcm_uframes_t size)
1574 assert(size == 0 || buffer);
1586 return _snd_pcm_writei(pcm, buffer, size);
1601 * all requested frames are played or put to the playback ring buffer.
1631 * \param buffer frames containing buffer
1647 snd_pcm_sframes_t snd_pcm_readi(snd_pcm_t *pcm, void *buffer, snd_pcm_uframes_t size)
1652 assert(size == 0 || buffer);
1664 return _snd_pcm_readi(pcm, buffer, size);
3037 * ring buffer in this function. This function is a light version of
3045 * #snd_pcm_hwsync() functions to move private ring buffer pointers
3070 * ring buffer in this functions.
3097 * \param availp Number of available frames in the ring buffer
3500 * \param dst_size size in frames of the destination buffer
3503 * \param src_size size in frames of the source buffer
3522 /* do not write above the destination buffer */
3525 /* do not read from above the source buffer */
4987 * \brief Restrict a configuration space to allow the buffer to be accessible from outside
4990 * \param val 0 = disable, 1 = enable (default) exporting buffer
5005 * \brief Extract buffer accessibility from a configuration space
5008 * \param val 0 = disable, 1 = enable exporting buffer
5038 * check the state of the ring buffer and refill it apropriately.
5534 * \param val approximate periods per buffer
5552 * \param val approximate minimum periods per buffer
5570 * \param val approximate maximum periods per buffer
5589 * \param val approximate periods per buffer
5604 * \param val approximate periods per buffer
5619 * \param val approximate minimum periods per buffer (on return filled with actual minimum)
5634 * \param val approximate maximum periods per buffer (on return filled with actual maximum)
5649 * \param min approximate minimum periods per buffer (on return filled with actual minimum)
5651 * \param max approximate maximum periods per buffer (on return filled with actual maximum)
5666 * \param val approximate target periods per buffer / returned chosen approximate target periods per buffer
5685 * \param val Returned approximate minimum periods per buffer
5704 * \param val Returned approximate maximum periods per buffer
5732 * \brief Extract buffer time from a configuration space
5734 * \param val Returned buffer time in us
5750 * \brief Extract minimum buffer time from a configuration space
5752 * \param val approximate minimum buffer duration in us
5768 * \brief Extract maximum buffer time from a configuration space
5770 * \param val approximate maximum buffer duration in us
5786 * \brief Verify if a buffer time is available inside a configuration space for a PCM
5789 * \param val approximate buffer duration in us
5801 * \brief Restrict a configuration space to contain only one buffer time
5804 * \param val approximate buffer duration in us
5816 * \brief Restrict a configuration space with a minimum buffer time
5819 * \param val approximate minimum buffer duration in us (on return filled with actual minimum)
5831 * \brief Restrict a configuration space with a maximum buffer time
5834 * \param val approximate maximum buffer duration in us (on return filled with actual maximum)
5846 * \brief Restrict a configuration space to have buffer times in a given range
5849 * \param min approximate minimum buffer duration in us (on return filled with actual minimum)
5851 * \param max approximate maximum buffer duration in us (on return filled with actual maximum)
5863 * \brief Restrict a configuration space to have buffer time nearest to a target
5866 * \param val approximate target buffer duration in us / returned chosen approximate target buffer duration
5882 * \brief Restrict a configuration space to contain only its minimum buffer time
5885 * \param val Returned approximate minimum buffer duration in us
5904 * \param val Returned approximate maximum buffer duration in us
5921 * \brief Extract buffer size from a configuration space
5923 * \param val Returned buffer size in frames
5940 * \brief Extract minimum buffer size from a configuration space
5942 * \param val Returned approximate minimum buffer size in frames
5959 * \brief Extract maximum buffer size from a configuration space
5961 * \param val Returned approximate maximum buffer size in frames
5980 * \brief Verify if a buffer size is available inside a configuration space for a PCM
5983 * \param val buffer size in frames
5994 * \brief Restrict a configuration space to contain only one buffer size
5997 * \param val buffer size in frames
6008 * \brief Restrict a configuration space with a minimum buffer size
6011 * \param val approximate minimum buffer size in frames (on return filled with actual minimum)
6024 * \brief Restrict a configuration space with a maximum buffer size
6027 * \param val approximate maximum buffer size in frames (on return filled with actual maximum)
6040 * \brief Restrict a configuration space to have buffer sizes in a given range
6043 * \param min approximate minimum buffer size in frames (on return filled with actual minimum)
6044 * \param max approximate maximum buffer size in frames (on return filled with actual maximum)
6058 * \brief Restrict a configuration space to have buffer size nearest to a target
6061 * \param val approximate target buffer size in frames / returned chosen approximate target buffer size in frames
6078 * \brief Restrict a configuration space to contain only its minimum buffer size
6081 * \param val Returned minimum buffer size in frames
6082 * \return buffer size in frames
6098 * \brief Restrict a configuration space to contain only its maximum buffer size
6101 * \param val Returned maximum buffer size in frames
6812 * (thus device will do the endless loop in the ring buffer).
6834 * (thus device will do the endless loop in the ring buffer).
6855 * A portion of playback buffer is overwritten with silence (see
6881 * A portion of playback buffer is overwritten with silence (see
6904 * A portion of playback buffer is overwritten with silence when playback
6913 * boundary. The unused portion of the ring buffer (initial written samples
6939 * A portion of playback buffer is overwritten with silence when playback
7128 * It's positive and less than buffer size in normal situation,
7129 * negative on playback underrun and greater than buffer size on
7393 * and can be zero, if no frames can be processed (the ring buffer is full).
7469 * buffer. The frames parameter must never exceed the contiguous frames
8450 * \!brief Print the channels in chmap on the buffer
8453 * \param buf The buffer to write
8850 /* set the buffer time */
8877 SNDERR("Unable to set buffer size %lu %s: %s",
8884 SNDERR("Unable to get buffer size for %s: %s",
8893 SNDERR("Unable to get buffer size for %s: %s",
8900 SNDERR("Unable to get buffer time (latency) for %s: %s",
8937 * start the transfer when the buffer is almost full:
8970 * \param buffer_size PCM ring buffer size in frames