Home | History | Annotate | Download | only in chromeos

Lines Matching refs:handle

270   snd_mixer_t* handle = NULL;
273 if ((err = snd_mixer_open(&handle, 0)) < 0) {
278 if ((err = snd_mixer_attach(handle, card)) < 0) {
281 snd_mixer_close(handle);
298 if ((err = snd_mixer_selem_register(handle, NULL, NULL)) < 0) {
300 snd_mixer_close(handle);
304 if ((err = snd_mixer_load(handle)) < 0) {
307 snd_mixer_close(handle);
313 elem_master_ = FindElementWithName_Locked(handle, kMasterVolume);
322 snd_mixer_close(handle);
329 snd_mixer_close(handle);
333 elem_pcm_ = FindElementWithName_Locked(handle, kPCMVolume);
341 snd_mixer_close(handle);
351 alsa_mixer_ = handle;
431 snd_mixer_t* handle,
442 snd_mixer_elem_t* elem = snd_mixer_find_selem(handle, sid);