• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/alsa-lib-1.0.26/src/pcm/

Lines Matching defs: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
171 The PCM device has been started and is running. It processes the samples. The stream can
212 The 24-bit linear samples use 32-bit physical space, but the sample is
214 range, thus you may get the significant bits for linear samples via
222 There are two methods to transfer samples in application. The first method
233 interleaved samples at input (#SND_PCM_ACCESS_RW_INTERLEAVED access method),
234 and the second one expects non-interleaved (samples in separated buffers -
243 Access #SND_PCM_ACCESS_MMAP_INTERLEAVED has interleaved samples. Access
257 to copy the samples from application to another place in system memory.
271 The underrun can happen when an application does not feed new samples
273 an application does not take new captured samples in time from alsa-lib.
318 Interleaved organization means, that samples from channels are mixed together.
340 \par Minimum available count of samples
342 This parameter controls the wakeup point. If the count of available samples
361 stream. For playback, if samples in ring buffer is equal or greater than
364 to read count of samples equal or greater then the stream will be started.
366 set this value greater than ring buffer size (in samples), but use the
372 the running stream, when the available samples crosses this boundary.
373 It means, for playback, the empty samples in ring buffer and for capture,
374 the filled (used) samples in ring buffer.
378 The silence threshold specifies count of samples filled with silence
381 network I/O etc.). If application wants to manage the ahead samples itself,
383 samples in the stream.
391 pointer update #snd_pcm_status_get_tstamp(), delay in samples -
392 #snd_pcm_status_get_delay(), available count in samples -
393 #snd_pcm_status_get_avail(), maximum available samples -
395 samples - #snd_pcm_status_get_overrange(). The last two
403 available count of samples for writing (playback) or filled samples for
416 The function #snd_pcm_delay() returns the delay in samples.
417 For playback, it means count of samples in the ring buffer before
418 the next sample will be sent to DAC. For capture, it means count of samples
458 the capture device has some samples in the ring buffer otherwise
993 * \brief Resume from suspend, no samples are lost
1087 * The pending samples on the buffer are ignored.
1089 * For processing all pending samples, use \link ::snd_pcm_drain() \endlink
1976 * \brief Convert bytes in samples for a PCM
1979 * \return quantity expressed in samples
1992 * \brief Convert samples in bytes for a PCM
1994 * \param samples quantity in samples
1997 ssize_t snd_pcm_samples_to_bytes(snd_pcm_t *pcm, long samples)
2004 return samples * pcm->sample_bits / 8;
2527 * \param samples samples to silence
2532 unsigned int samples, snd_pcm_format_t format)
2545 unsigned int dwords = samples * width / 64;
2547 samples -= dwords * 64 / width;
2550 if (samples == 0)
2560 while (samples-- > 0) {
2579 while (samples-- > 0) {
2587 while (samples-- > 0) {
2606 while (samples-- > 0) {
2613 while (samples-- > 0) {
2682 * \param samples samples to copy
2688 unsigned int samples, snd_pcm_format_t format)
2698 return snd_pcm_area_silence(dst_area, dst_offset, samples, format);
2706 size_t bytes = samples * width / 8;
2707 samples -= bytes * 8 / width;
2709 if (samples == 0)
2720 while (samples-- > 0) {
2747 while (samples-- > 0) {
2755 while (samples-- > 0) {
2763 while (samples-- > 0) {
2772 while (samples-- > 0) {
2780 while (samples-- > 0) {
2950 * \brief Check if hardware does block transfers for samples for given configuration
5504 * \brief Get the minimum transfer align value in samples
6055 * boundary. The unused portion of the ring buffer (initial written samples
7506 /* allow the transfer when at least period_size samples can be processed */