Lines Matching refs:stream
69 recorded at same time). Digital audio stream contains collection of frames
79 It means that the stream of samples is divided to small chunks. Device
171 The PCM device has been started and is running. It processes the samples. The stream can
199 system. The stream can be resumed using #snd_pcm_resume()
301 UCM token, may return -ENODATA if the linked playback stream has not been
312 parameters contains the stream description like format, rate, count of
376 stream. For playback, if the frame count in the ring buffer is equal or greater
377 than the start threshold parameter and the stream is not running, the stream
379 wants to read count of frames equal or greater then the stream will be started.
387 the running stream, when the available frames crosses this boundary.
398 allows to forget the last samples in the stream.
400 \section pcm_status Obtaining stream status
402 The stream status is stored in #snd_pcm_status_t structure.
403 These parameters can be obtained: the current stream state -
414 \subsection pcm_status_fast Obtaining stream state fast and update r/w pointer
420 Using standalone, it is a light method to obtain current stream position,
423 only when an interrupt occurs. If you want to get accurate stream state,
435 only when the stream is in the running or draining (playback only) state.
445 \section pcm_action Managing the stream state
447 The following functions directly and indirectly affect the stream state:
450 The #snd_pcm_hw_params() function brings the stream state
482 functions can conditionally start the stream -
488 functions can conditionally start the stream -
500 function is called, all operations managing the stream state for these two
606 The tee device stores contents of a stream to given file plus transfers it to given slave plugin.
756 * \brief get stream for a PCM handle
758 * \return stream of PCM handle
765 return pcm->stream;
942 * the stream is brought to \c #SND_PCM_STATE_PREPARED state.
944 * The hardware parameters cannot be changed when the stream is
996 * The hardware parameters cannot be changed when the stream is
1095 * \brief (DEPRECATED) Synchronize stream position with hardware
1129 * to the PCM stream shortly after this call will take to be actually
1135 * stream shortly after this call returns. It is as such the overall latency
1174 * This function can be used when the stream is in the suspend state
1353 * For stopping the PCM stream immediately, use \link ::snd_pcm_drop() \endlink
1419 * by this function. But it is not guaranteed that output stream
1485 * by this function. But it is not guaranteed that output stream
1559 * \retval -ESTRPIPE a suspend event occurred (stream is suspended and waiting for an application recovery)
1598 * \retval -ESTRPIPE a suspend event occurred (stream is suspended and waiting for an application recovery)
1637 * \retval -ESTRPIPE a suspend event occurred (stream is suspended and waiting for an application recovery)
1676 * \retval -ESTRPIPE a suspend event occurred (stream is suspended and waiting for an application recovery)
1804 * The field values in pollfd structs may be bogus regarding the stream
1819 * for the lifetime of the stream parameters.
2125 * \brief get name of PCM stream type
2126 * \param stream PCM stream type
2127 * \return ascii name of PCM stream type
2129 const char *snd_pcm_stream_name(const snd_pcm_stream_t stream)
2131 if (stream > SND_PCM_STREAM_LAST)
2133 return snd_pcm_stream_names[stream];
2346 snd_output_printf(out, " stream : %s\n", snd_pcm_stream_name(pcm->stream));
2564 snd_pcm_stream_t stream, int mode)
2671 err = open_func(pcmp, name, pcm_root, pcm_conf, stream, mode);
2713 const char *name, snd_pcm_stream_t stream,
2726 err = snd_pcm_open_noupdate(pcmp, root, str, stream, mode,
2730 err = snd_pcm_open_conf(pcmp, name, root, pcm_conf, stream, mode);
2740 * \param stream Wanted stream
2745 snd_pcm_stream_t stream, int mode)
2760 err = snd_pcm_open_noupdate(pcmp, top, name, stream, mode, 0);
2769 * \param stream Wanted stream
2775 snd_pcm_stream_t stream, int mode,
2779 return snd_pcm_open_noupdate(pcmp, lconf, name, stream, mode, 0);
2788 * \param stream Wanted stream
2794 snd_pcm_stream_t stream, int mode)
2798 err = snd_pcm_open_noupdate(pcmp, root, name, stream, mode, 0);
2808 snd_pcm_stream_t stream, int mode)
2821 pcm->stream = stream;
2874 snd_config_t *conf, snd_pcm_stream_t stream,
2883 return snd_pcm_open_noupdate(pcmp, root, str, stream, mode,
2885 return snd_pcm_open_conf(pcmp, name, root, conf, stream, mode);
2899 * \retval 1 PCM stream is ready for I/O
3815 * beyond the stream application pointer.
5070 * \brief Restrict a configuration space to fill the end of playback stream with silence when drain() is invoked
5073 * \param val 0 = disabled, 1 = enabled (default) fill the end of the playback stream with silence when drain() is invoked
5076 * When disabled, the application should handle the end of stream gracefully
6685 * This is a threshold value when the PCM stream is considered as ready for
7016 * timestamp contains time when stream started or when it was stopped.
7032 * timestamp contains time when stream started or when it was stopped.
7236 * \brief Get stream (direction) from a PCM info container
7238 * \return stream
7243 return obj->stream;
7370 * \brief Set wanted stream inside a PCM info container (see #snd_ctl_pcm_info)
7377 obj->stream = val;
7735 /* some plugins might automatically start the stream */
8722 * \brief Recover the stream state from an error or suspend
8731 * -EPIPE (overrun or underrun) and -ESTRPIPE (stream is suspended)
8732 * error codes trying to prepare given stream for next I/O.
8781 * \param soft_resample 0 = disallow alsa-lib resample stream, 1 = allow resampling
8836 /* set the stream rate */