Lines Matching refs:hwif
42 AudioHardwareInterface *hwif; member
424 return ladev->hwif->initCheck(); in adev_init_check()
430 return ladev->hwif->setVoiceVolume(volume); in adev_set_voice_volume()
436 return ladev->hwif->setMasterVolume(volume); in adev_set_master_volume()
442 return ladev->hwif->getMasterVolume(volume); in adev_get_master_volume()
449 return ladev->hwif->setMode((int) mode); in adev_set_mode()
455 return ladev->hwif->setMicMute(state); in adev_set_mic_mute()
461 return ladev->hwif->getMicMute(state); in adev_get_mic_mute()
467 return ladev->hwif->setParameters(String8(kvpairs)); in adev_set_parameters()
476 s8 = ladev->hwif->getParameters(String8(keys)); in adev_get_parameters()
484 return ladev->hwif->getInputBufferSize(config->sample_rate, (int) config->format, in adev_get_input_buffer_size()
507 out->legacy_out = ladev->hwif->openOutputStreamWithFlags(devices, flags, in adev_open_output_stream()
549 ladev->hwif->closeOutputStream(out->legacy_out); in adev_close_output_stream()
574 in->legacy_in = ladev->hwif->openInputStream(devices, (int *) &config->format, in adev_open_input_stream()
614 ladev->hwif->closeInputStream(in->legacy_in); in adev_close_input_stream()
623 return ladev->hwif->dumpState(fd, args); in adev_dump()
635 if (ladev->hwif) in legacy_adev_close()
636 delete ladev->hwif; in legacy_adev_close()
676 ladev->hwif = createAudioHardware(); in legacy_adev_open()
677 if (!ladev->hwif) { in legacy_adev_open()