Lines Matching defs:mode

127 with blocked or non-blocked mode. The mode can be specified with
128 \a mode argument in #snd_pcm_open() function.
129 The blocked mode is the default (without #SND_PCM_NONBLOCK mode).
130 In this mode, the behaviour is that if the resources have already used
134 resources are not available. Note that the mode also determines the
135 behaviour of standard I/O calls, returning -EAGAIN when non-blocked mode is
137 The operation mode for I/O calls can be changed later with
140 \section pcm_async Asynchronous mode
144 mode for #snd_pcm_open() function and
185 The device is in this state when application using the capture mode
260 If you like to use the compatibility functions in mmap mode, there are
331 communication. The access mode #SND_PCM_ACCESS_MMAP_INTERLEAVED
334 The access mode #SND_PCM_ACCESS_MMAP_NONINTERLEAVED
338 access mode. The sample organization does not fit the interleaved or
360 \par Timestamp mode
362 The timestamp mode specifies, if timestamps are activated. Currently, only
364 modes are known. The mmap mode means that timestamp is taken
805 * \brief set nonblock mode
807 * \param nonblock 0 = block, 1 = nonblock mode, 2 = abort
828 pcm->mode |= SND_PCM_ABORT;
832 pcm->mode |= SND_PCM_NONBLOCK;
837 pcm->mode &= ~SND_PCM_NONBLOCK;
846 * \brief set async mode
2248 * \brief (DEPRECATED) get name of PCM start mode setting
2249 * \param mode PCM start mode
2250 * \return ascii name of PCM start mode setting
2252 const char *snd_pcm_start_mode_name(snd_pcm_start_t mode)
2254 if (mode > SND_PCM_START_LAST)
2256 return snd_pcm_start_mode_names[mode];
2264 * \brief (DEPRECATED) get name of PCM xrun mode setting
2265 * \param mode PCM xrun mode
2266 * \return ascii name of PCM xrun mode setting
2268 const char *snd_pcm_xrun_mode_name(snd_pcm_xrun_t mode)
2270 if (mode > SND_PCM_XRUN_LAST)
2272 return snd_pcm_xrun_mode_names[mode];
2280 * \brief get name of PCM tstamp mode setting
2281 * \param mode PCM tstamp mode
2282 * \return ascii name of PCM tstamp mode setting
2284 const char *snd_pcm_tstamp_mode_name(const snd_pcm_tstamp_t mode)
2286 if (mode > SND_PCM_TSTAMP_LAST)
2288 return snd_pcm_tstamp_mode_names[mode];
2564 snd_pcm_stream_t stream, int mode)
2671 err = open_func(pcmp, name, pcm_root, pcm_conf, stream, mode);
2714 int mode, int hop)
2726 err = snd_pcm_open_noupdate(pcmp, root, str, stream, mode,
2730 err = snd_pcm_open_conf(pcmp, name, root, pcm_conf, stream, mode);
2741 * \param mode Open mode (see #SND_PCM_NONBLOCK, #SND_PCM_ASYNC)
2745 snd_pcm_stream_t stream, int mode)
2760 err = snd_pcm_open_noupdate(pcmp, top, name, stream, mode, 0);
2770 * \param mode Open mode (see #SND_PCM_NONBLOCK, #SND_PCM_ASYNC)
2775 snd_pcm_stream_t stream, int mode,
2779 return snd_pcm_open_noupdate(pcmp, lconf, name, stream, mode, 0);
2789 * \param mode Open mode (see #SND_PCM_NONBLOCK, #SND_PCM_ASYNC)
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)
2822 pcm->mode = mode;
2839 if (mode & SND_PCM_ASYNC) {
2875 int mode, snd_config_t *parent_conf)
2883 return snd_pcm_open_noupdate(pcmp, root, str, stream, mode,
2885 return snd_pcm_open_conf(pcmp, name, root, conf, stream, mode);
2997 if (errno == EINTR && !PCMINABORT(pcm) && !(pcm->mode & SND_PCM_EINTR))
5025 * This function must be called only on devices where non-blocking mode is
5030 * support this mode, standard period wakeups will be generated.
5045 if (!(pcm->mode & SND_PCM_NONBLOCK))
6455 * \brief (DEPRECATED) Set start mode inside a software configuration container
6458 * \param val Start mode
6472 SNDMSG("invalid start mode value %d", val);
6483 * \brief (DEPRECATED) Get start mode from a software configuration container
6485 * \return start mode
6499 * \brief (DEPRECATED) Set xrun mode inside a software configuration container
6502 * \param val Xrun mode
6520 SNDMSG("invalid xrun mode value %d", val);
6531 * \brief (DEPRECATED) Get xrun mode from a software configuration container
6533 * \return xrun mode
6547 * \brief Set timestamp mode inside a software configuration container
6550 * \param val Timestamp mode
6569 * \brief Get timestamp mode from a software configuration container
7635 if (pcm->mode & SND_PCM_NONBLOCK) {
7704 if (pcm->mode & SND_PCM_NONBLOCK) {
8943 SNDERR("Unable to set start threshold mode for %s: %s",