HomeSort by relevance Sort by last modified time
    Searched full:adev (Results 1 - 6 of 6) sorted by null

  /device/samsung/tuna/audio/
audio_hw.c 765 static void select_output_device(struct tuna_audio_device *adev);
766 static void select_input_device(struct tuna_audio_device *adev);
818 static int start_call(struct tuna_audio_device *adev)
822 pcm_config_vx.rate = adev->wb_amr ? VX_WB_SAMPLING_RATE : VX_NB_SAMPLING_RATE;
825 if (adev->pcm_modem_dl == NULL) {
826 adev->pcm_modem_dl = pcm_open(0, PORT_MODEM, PCM_OUT, &pcm_config_vx);
827 if (!pcm_is_ready(adev->pcm_modem_dl)) {
828 ALOGE("cannot open PCM modem DL stream: %s", pcm_get_error(adev->pcm_modem_dl));
833 if (adev->pcm_modem_ul == NULL) {
834 adev->pcm_modem_ul = pcm_open(0, PORT_MODEM, PCM_IN, &pcm_config_vx)
884 struct tuna_audio_device *adev = (struct tuna_audio_device *)data; local
1374 struct tuna_audio_device *adev = out->dev; local
1446 struct tuna_audio_device *adev = out->dev; local
1474 struct tuna_audio_device *adev = out->dev; local
1704 struct tuna_audio_device *adev = out->dev; local
1773 struct tuna_audio_device *adev = out->dev; local
1918 struct tuna_audio_device *adev = out->dev; local
2010 struct tuna_audio_device *adev = out->dev; local
2102 struct tuna_audio_device *adev = out->dev; local
2164 struct tuna_audio_device *adev = in->dev; local
2263 struct tuna_audio_device *adev = in->dev; local
2308 struct tuna_audio_device *adev = in->dev; local
2748 struct tuna_audio_device *adev = in->dev; local
3345 struct tuna_audio_device *adev = (struct tuna_audio_device *)dev; local
3409 struct tuna_audio_device *adev = (struct tuna_audio_device *)dev; local
3426 struct tuna_audio_device *adev = (struct tuna_audio_device *)dev; local
3440 struct tuna_audio_device *adev = (struct tuna_audio_device *)dev; local
3449 struct tuna_audio_device *adev = (struct tuna_audio_device *)dev; local
3578 struct tuna_audio_device *adev = (struct tuna_audio_device *)device; local
3614 struct tuna_audio_device *adev; local
    [all...]
  /device/ti/panda/audio/
audio_hw.c 654 static void select_output_device(struct omap4_audio_device *adev);
655 static void select_input_device(struct omap4_audio_device *adev);
727 static int get_boardtype(struct omap4_audio_device *adev)
733 LOGFUNC("%s(%p)", __FUNCTION__, adev);
738 adev->board_type = BLAZE;
740 adev->sidetone_capture = 1;
743 adev->board_type = TABLET;
744 adev->sidetone_capture = 0;
747 adev->board_type = PANDA;
748 adev->sidetone_capture = 0
1286 struct omap4_audio_device *adev = out->dev; local
1533 struct omap4_audio_device *adev = out->dev; local
1587 struct omap4_audio_device *adev = out->dev; local
1664 struct omap4_audio_device *adev = out->dev; local
1801 struct omap4_audio_device *adev = in->dev; local
1901 struct omap4_audio_device *adev = in->dev; local
1965 struct omap4_audio_device *adev = in->dev; local
2367 struct omap4_audio_device *adev = in->dev; local
2592 struct omap4_audio_device *adev = (struct omap4_audio_device *)dev; local
2662 struct omap4_audio_device *adev = (struct omap4_audio_device *)dev; local
2679 struct omap4_audio_device *adev = (struct omap4_audio_device *)dev; local
2695 struct omap4_audio_device *adev = (struct omap4_audio_device *)dev; local
2706 struct omap4_audio_device *adev = (struct omap4_audio_device *)dev; local
2841 struct omap4_audio_device *adev = (struct omap4_audio_device *)device; local
2878 struct omap4_audio_device *adev; local
    [all...]
  /hardware/libhardware/modules/usbaudio/
audio_hw.c 73 struct audio_device *adev = out->dev; local
76 if ((adev->card < 0) || (adev->device < 0))
79 out->pcm = pcm_open(adev->card, adev->device, PCM_OUT, &pcm_config);
150 struct audio_device *adev = out->dev; local
157 pthread_mutex_lock(&adev->lock);
161 adev->card = atoi(value);
165 adev->device = atoi(value);
167 pthread_mutex_unlock(&adev->lock)
253 struct audio_device *adev = (struct audio_device *)dev; local
376 struct audio_device *adev = (struct audio_device *)device; local
390 struct audio_device *adev; local
    [all...]
  /device/asus/grouper/audio/
audio_hw.c 175 static void select_devices(struct audio_device *adev)
181 headphone_on = adev->devices & (AUDIO_DEVICE_OUT_WIRED_HEADSET |
183 speaker_on = adev->devices & AUDIO_DEVICE_OUT_SPEAKER;
184 main_mic_on = adev->devices & AUDIO_DEVICE_IN_BUILTIN_MIC;
186 reset_mixer_state(adev->ar);
189 audio_route_apply_path(adev->ar, "speaker");
191 audio_route_apply_path(adev->ar, "headphone");
193 if (adev->orientation == ORIENTATION_LANDSCAPE)
194 audio_route_apply_path(adev->ar, "main-mic-left");
196 audio_route_apply_path(adev->ar, "main-mic-top")
208 struct audio_device *adev = out->dev; local
229 struct audio_device *adev = in->dev; local
250 struct audio_device *adev = out->dev; local
319 struct audio_device *adev = in->dev; local
537 struct audio_device *adev = out->dev; local
581 struct audio_device *adev = out->dev; local
607 struct audio_device *adev = out->dev; local
842 struct audio_device *adev = in->dev; local
894 struct audio_device *adev = in->dev; local
980 struct audio_device *adev = (struct audio_device *)dev; local
1032 struct audio_device *adev = (struct audio_device *)dev; local
1107 struct audio_device *adev = (struct audio_device *)dev; local
1116 struct audio_device *adev = (struct audio_device *)dev; local
1146 struct audio_device *adev = (struct audio_device *)dev; local
1203 struct audio_device *adev = (struct audio_device *)device; local
1230 struct audio_device *adev; local
    [all...]
  /external/bluetooth/bluez/audio/
android_audio_hw.c 618 struct adev_a2dp *adev = (struct adev_a2dp *)dev; local
622 pthread_mutex_lock(&adev->lock);
625 if (adev->output) {
665 out->bt_enabled = adev->bt_enabled;
666 out->suspended = adev->suspended;
702 if (adev->bt_enabled)
705 adev->output = out;
719 pthread_mutex_unlock(&adev->lock);
729 pthread_mutex_unlock(&adev->lock);
734 /* needs the adev->lock held *
738 struct adev_a2dp *adev = (struct adev_a2dp *)dev; local
772 struct adev_a2dp *adev = (struct adev_a2dp *)dev; local
782 struct adev_a2dp *adev = (struct adev_a2dp *)dev; local
817 struct adev_a2dp *adev = (struct adev_a2dp *)dev; local
923 struct adev_a2dp *adev = (struct adev_a2dp *)device; local
942 struct adev_a2dp *adev; local
    [all...]
  /hardware/libhardware/modules/audio/
audio_hw.c 399 struct stub_audio_device *adev; local
405 adev = calloc(1, sizeof(struct stub_audio_device));
406 if (!adev)
409 adev->device.common.tag = HARDWARE_DEVICE_TAG;
410 adev->device.common.version = AUDIO_DEVICE_API_VERSION_1_0;
411 adev->device.common.module = (struct hw_module_t *) module;
412 adev->device.common.close = adev_close;
414 adev->device.get_supported_devices = adev_get_supported_devices;
415 adev->device.init_check = adev_init_check;
416 adev->device.set_voice_volume = adev_set_voice_volume
    [all...]

Completed in 204 milliseconds