Lines Matching defs:access

234 interleaved samples at input (#SND_PCM_ACCESS_RW_INTERLEAVED access method),
236 #SND_PCM_ACCESS_RW_NONINTERLEAVED access method) at input. There are these
250 access to memory areas via #snd_pcm_mmap_begin() function.
262 these functions discards the benefits of direct access to memory region.
330 ALSA knows about five access modes. The first three can be used for direct
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
339 non-interleaved access modes in the case. The last two access modes
340 describes the read / write access methods.
341 The #SND_PCM_ACCESS_RW_INTERLEAVED access represents the read /
342 write interleaved access and the #SND_PCM_ACCESS_RW_NONINTERLEAVED
343 represents the non-interleaved access.
909 snd_mask_set(&params->masks[SND_PCM_HW_PARAM_ACCESS - SND_PCM_HW_PARAM_FIRST_MASK], pcm->access);
936 * first access, first format, first subformat, min channels, min rate,
1579 if (pcm->access != SND_PCM_ACCESS_RW_INTERLEAVED) {
1580 SNDMSG("invalid access type %s", snd_pcm_access_name(pcm->access));
1618 if (pcm->access != SND_PCM_ACCESS_RW_NONINTERLEAVED) {
1619 SNDMSG("invalid access type %s", snd_pcm_access_name(pcm->access));
1657 if (pcm->access != SND_PCM_ACCESS_RW_INTERLEAVED) {
1658 SNDMSG("invalid access type %s", snd_pcm_access_name(pcm->access));
1696 if (pcm->access != SND_PCM_ACCESS_RW_NONINTERLEAVED) {
1697 SNDMSG("invalid access type %s", snd_pcm_access_name(pcm->access));
2137 * \brief get name of PCM access type
2138 * \param acc PCM access type
2139 * \return ascii name of PCM access type
2347 snd_output_printf(out, " access : %s\n", snd_pcm_access_name(pcm->access));
4032 * \brief test the presence of an access type in a #snd_pcm_access_mask_t
4034 * \param val access type
4053 * \brief make an access type present in a #snd_pcm_access_mask_t
4055 * \param val access type
4063 * \brief make an access type missing from a #snd_pcm_access_mask_t
4065 * \param val access type
4323 * \brief Extract access type from a configuration space
4325 * \param access Returned value
4326 * \return access type otherwise a negative error code if the configuration space does not contain a single value
4329 EXPORT_SYMBOL int INTERNAL(snd_pcm_hw_params_get_access)(const snd_pcm_hw_params_t *params, snd_pcm_access_t *access)
4331 int snd_pcm_hw_params_get_access(const snd_pcm_hw_params_t *params, snd_pcm_access_t *access)
4337 *access = _val;
4342 * \brief Verify if an access type is available inside a configuration space for a PCM
4345 * \param access access type
4348 int snd_pcm_hw_params_test_access(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_access_t access)
4350 return snd_pcm_hw_param_set(pcm, params, SND_TEST, SND_PCM_HW_PARAM_ACCESS, access, 0);
4354 * \brief Restrict a configuration space to contain only one access type
4357 * \param access access type
4360 int snd_pcm_hw_params_set_access(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_access_t access)
4362 return snd_pcm_hw_param_set(pcm, params, SND_TRY, SND_PCM_HW_PARAM_ACCESS, access, 0);
4366 * \brief Restrict a configuration space to contain only its first access type
4369 * \param access Returned first access type
4373 EXPORT_SYMBOL int INTERNAL(snd_pcm_hw_params_set_access_first)(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_access_t *access)
4375 int snd_pcm_hw_params_set_access_first(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_access_t *access)
4378 return snd_pcm_hw_param_set_first(pcm, params, SND_PCM_HW_PARAM_ACCESS, access, NULL);
4382 * \brief Restrict a configuration space to contain only its last access type
4385 * \param access Returned last access type
4389 EXPORT_SYMBOL int INTERNAL(snd_pcm_hw_params_set_access_last)(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_access_t *access)
4391 int snd_pcm_hw_params_set_access_last(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_access_t *access)
4394 return snd_pcm_hw_param_set_last(pcm, params, SND_PCM_HW_PARAM_ACCESS, access, NULL);
4398 * \brief Restrict a configuration space to contain only a set of access types
4410 * \brief Get access mask from a configuration space
7381 * \brief Application request to access a portion of direct (mmap) area
7460 * \brief Application has completed the access to area requested with #snd_pcm_mmap_begin
8778 * \param access required PCM access
8787 snd_pcm_access_t access,
8816 err = snd_pcm_hw_params_set_access(pcm, &params, access);