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 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
223 There are two methods to transfer samples in application. The first method
234 interleaved samples at input (#SND_PCM_ACCESS_RW_INTERLEAVED access method),
235 and the second one expects non-interleaved (samples in separated buffers -
244 Access #SND_PCM_ACCESS_MMAP_INTERLEAVED has interleaved samples. Access
258 to copy the samples from application to another place in system memory.
273 The underrun can happen when an application does not feed new samples
275 an application does not take new captured samples in time from alsa-lib.
333 Interleaved organization means, that samples from channels are mixed together.
388 It means, for playback, the empty samples in ring buffer and for capture,
389 the filled (used) samples in ring buffer.
397 application wants to manage the ahead samples itself, the #snd_pcm_rewind() function
398 allows to forget the last samples in the stream.
473 the capture device has some samples in the ring buffer otherwise
1168 * \brief Resume from suspend, no samples are lost
1314 * The pending samples on the buffer are ignored.
1316 * For processing all pending samples, use \link ::snd_pcm_drain() \endlink
2044 FORMATD(G723_24, "G.723 (ADPCM) 24 kbit/s, 8 samples in 3 bytes"),
2046 FORMATD(G723_40, "G.723 (ADPCM) 40 kbit/s, 8 samples in 3 bytes"),
2475 * \brief Convert bytes in samples for a PCM
2478 * \return quantity expressed in samples
2491 * \brief Convert samples in bytes for a PCM
2493 * \param samples quantity in samples
2496 ssize_t snd_pcm_samples_to_bytes(snd_pcm_t *pcm, long samples)
2503 return samples * pcm->sample_bits / 8;
3140 * \param samples samples to silence
3145 unsigned int samples, snd_pcm_format_t format)
3164 unsigned int dwords = samples * width / 64;
3166 samples -= dwords * 64 / width;
3169 if (samples == 0)
3180 while (samples-- > 0) {
3199 while (samples-- > 0) {
3207 while (samples-- > 0) {
3214 while (samples-- > 0) {
3230 while (samples-- > 0) {
3237 while (samples-- > 0) {
3306 * \param samples samples to copy
3312 unsigned int samples, snd_pcm_format_t format)
3322 return snd_pcm_area_silence(dst_area, dst_offset, samples, format);
3330 size_t bytes = samples * width / 8;
3331 samples -= bytes * 8 / width;
3335 if (samples == 0)
3346 while (samples-- > 0) {
3373 while (samples-- > 0) {
3381 while (samples-- > 0) {
3389 while (samples-- > 0) {
3398 while (samples-- > 0) {
3406 while (samples-- > 0) {
3629 * \brief Check if hardware does block transfers for samples for given configuration
3814 * Perfect drain means that the hardware does not use samples
5077 * (fill the silent samples to align to the period size plus some extra
5078 * samples for hardware / driver without perfect drain). Note that the rewind
5093 * \brief Extract drain with the filling of silence samples from a configuration space
6310 * \brief Get the minimum transfer align value in samples
6913 * boundary. The unused portion of the ring buffer (initial written samples
8948 * allow the transfer when at least period_size samples can be