Home | History | Annotate | Download | only in audio_extn

Lines Matching refs:app_type

39                                           int pcm_device_id, int app_type,
65 app_type_cfg[len++] = app_type;
72 ALOGV("%s: stream type %d app_type %d, acdb_dev_id %d "
74 __func__, stream_type, app_type, acdb_dev_id, sample_rate,
85 int length = 0, app_type = 0,rc = 0;
94 rc = platform_get_default_app_type_v2(platform, PCM_PLAYBACK, &app_type);
97 app_type_cfg[length++] = app_type;
125 int app_type = 0, rc = 0;
154 rc = platform_get_default_app_type_v2(adev->platform, PCM_PLAYBACK, &app_type);
159 rc = set_stream_app_type_mixer_ctrl(adev, pcm_device_id, app_type,
166 rc = platform_get_default_app_type_v2(adev->platform, PCM_CAPTURE, &app_type);
169 rc = set_stream_app_type_mixer_ctrl(adev, pcm_device_id, app_type,
185 rc = platform_get_default_app_type_v2(adev->platform, PCM_CAPTURE, &app_type);
187 rc = set_stream_app_type_mixer_ctrl(adev, pcm_device_id, app_type,
195 rc = platform_get_default_app_type_v2(adev->platform, PCM_PLAYBACK, &app_type);
197 rc = set_stream_app_type_mixer_ctrl(adev, pcm_device_id, app_type,
213 int *app_type,
238 app_type);
246 app_type);
253 app_type);
259 app_type_cfg->app_type = *app_type;
266 int *app_type,
293 app_type);
294 ALOGV("Non pcm got app type %d", *app_type);
301 app_type);
309 app_type);
316 app_type);
322 app_type_cfg->app_type = *app_type;
346 int app_type;
364 &app_type,
369 &app_type,
377 ALOGE("%s: Failed to derive app_type for uc type : 0x%x", __func__,
389 set_stream_app_type_mixer_ctrl(adev, pcm_device_id, app_type, acdb_dev_id,
398 int app_type,
411 gain_cfg[1] = app_type;
414 ALOGV("%s app_type %d l(%d) r(%d)", __func__, app_type, gain[0], gain[1]);
419 // this assumes correct app_type and sample_rate fields
425 int app_type = 0;
429 ALOGV("%s send cal for app_type %d, rate %d", __func__,
430 out->app_type_cfg.app_type,
433 out->app_type_cfg.app_type,
437 ALOGV("%s send cal for capture app_type
438 in->app_type_cfg.app_type,
441 in->app_type_cfg.app_type,
445 platform_get_default_app_type_v2(adev->platform, type, &app_type);
446 platform_send_audio_calibration_v2(adev->platform, usecase, app_type,