Home | History | Annotate | Download | only in server

Lines Matching refs:handle

20 /* Sets the channel layout from given format to the pcm handle.
22 * handle - Pointer to the opened pcm to set channel map to.
27 int cras_alsa_set_channel_map(snd_pcm_t *handle,
30 /* Gets the supported channel mapping of the pcm handle which matches
33 * handle - Pointer to the opened pcm to get channel map info.
38 int cras_alsa_get_channel_map(snd_pcm_t *handle,
43 * handle - Filled with a pointer to the opened pcm.
49 int cras_alsa_pcm_open(snd_pcm_t **handle, const char *dev,
54 * handle - Filled with a pointer to the opened pcm.
58 int cras_alsa_pcm_close(snd_pcm_t *handle);
62 * handle - Filled with a pointer to the opened pcm.
66 int cras_alsa_pcm_start(snd_pcm_t *handle);
70 * handle - Filled with a pointer to the opened pcm.
74 int cras_alsa_pcm_drain(snd_pcm_t *handle);
99 * handle - Filled with a pointer to the opened pcm.
104 int cras_alsa_resume_appl_ptr(snd_pcm_t *handle, snd_pcm_uframes_t ahead);
125 * handle - The open PCM to configure.
135 int cras_alsa_set_hwparams(snd_pcm_t *handle, struct cras_audio_format *format,
141 * handle - The open PCM to configure.
148 int cras_alsa_set_swparams(snd_pcm_t *handle, int *enable_htimestamp);
154 * can handle it.
156 * handle[in] - The open PCM to configure.
171 int cras_alsa_get_avail_frames(snd_pcm_t *handle, snd_pcm_uframes_t buf_size,
180 * handle - The open PCM to configure.
186 int cras_alsa_get_delay_frames(snd_pcm_t *handle, snd_pcm_uframes_t buf_size,
192 * handle - The open PCM to configure.
198 int cras_alsa_mmap_get_whole_buffer(snd_pcm_t *handle, uint8_t **dst,
203 * handle - The open PCM to configure.
214 int cras_alsa_mmap_begin(snd_pcm_t *handle, unsigned int format_bytes,
220 * handle - The open PCM to configure.
228 int cras_alsa_mmap_commit(snd_pcm_t *handle, snd_pcm_uframes_t offset,
235 * handle - The open PCM to configure.
240 int cras_alsa_attempt_resume(snd_pcm_t *handle);