Lines Matching refs:samples
42 understanding it as general digital audio processing with volume samples
65 <P>One digital value is called sample. More samples are collected to frames
68 used - mono) or more samples (for example: stereo has signals from two converters
75 record) samples. There are two pointers being maintained to allow
79 It means that the stream of samples is divided to small chunks. Device
99 ring buffer (playback) or until there are a new samples (capture). The ALSA
167 The PCM device is running. It processes the samples. The stream can
208 The 24-bit linear samples uses 32-bit physical space, but the sample is
210 range, thus you may get the significant bits for linear samples via
218 There are two methods to transfer samples in application. The first method
229 interleaved samples at input (#SND_PCM_ACCESS_RW_INTERLEAVED access method),
230 and the second one expects non-interleaved (samples in separated buffers -
239 Access #SND_PCM_ACCESS_MMAP_INTERLEAVED has interleaved samples. Access
253 to copy the samples from application to another place in system memory.
267 The underrun can happen when an application does not feed new samples
269 an application does not take new captured samples in time from alsa-lib.
314 Interleaved organization means, that samples from channels are mixed together.
336 \par Minimum available count of samples
338 This parameter controls the wakeup point. If the count of available samples
357 stream. For playback, if samples in ring buffer is equal or greater than
360 to read count of samples equal or greater then the stream will be started.
362 set this value greater than ring buffer size (in samples), but use the
368 the running stream, when the available samples crosses this boundary.
369 It means, for playback, the empty samples in ring buffer and for capture,
370 the filled (used) samples in ring buffer.
374 The silence threshold specifies count of samples filled with silence
377 network I/O etc.). If application wants to manage the ahead samples itself,
379 samples in the stream.
387 pointer update #snd_pcm_status_get_tstamp(), delay in samples -
388 #snd_pcm_status_get_delay(), available count in samples -
389 #snd_pcm_status_get_avail(), maximum available samples -
391 samples - #snd_pcm_status_get_overrange(). The last two
399 available count of samples for writing (playback) or filled samples for
412 The function #snd_pcm_delay() returns the delay in samples.
413 For playback, it means count of samples in the ring buffer before
414 the next sample will be sent to DAC. For capture, it means count of samples
454 the capture device has some samples in the ring buffer otherwise
980 * \brief Resume from suspend, no samples are lost
1074 * The pending samples on the buffer are ignored.
1076 * For processing all pending samples, use \link ::snd_pcm_drain() \endlink
1957 * \brief Convert bytes in samples for a PCM
1960 * \return quantity expressed in samples
1973 * \brief Convert samples in bytes for a PCM
1975 * \param samples quantity in samples
1978 ssize_t snd_pcm_samples_to_bytes(snd_pcm_t *pcm, long samples)
1985 return samples * pcm->sample_bits / 8;
2491 * \param samples samples to silence
2496 unsigned int samples, snd_pcm_format_t format)
2509 unsigned int dwords = samples * width / 64;
2511 samples -= dwords * 64 / width;
2514 if (samples == 0)
2524 while (samples-- > 0) {
2543 while (samples-- > 0) {
2551 while (samples-- > 0) {
2570 while (samples-- > 0) {
2577 while (samples-- > 0) {
2646 * \param samples samples to copy
2652 unsigned int samples, snd_pcm_format_t format)
2662 return snd_pcm_area_silence(dst_area, dst_offset, samples, format);
2670 size_t bytes = samples * width / 8;
2671 samples -= bytes * 8 / width;
2673 if (samples == 0)
2684 while (samples-- > 0) {
2711 while (samples-- > 0) {
2719 while (samples-- > 0) {
2727 while (samples-- > 0) {
2736 while (samples-- > 0) {
2744 while (samples-- > 0) {
2917 * \brief Check, if hardware does block transfers for samples for given configuration
5407 * \brief Get the minimum transfer align value in samples
5958 * boundary. The unused portion of the ring buffer (initial written samples
7398 /* allow the transfer when at least period_size samples can be processed */