Lines Matching defs:tpins

227     int32_t tpins, cJSON *renderObj, struct AudioHwRenderParam *renderParam, int32_t value)
235 const char *renderDeviceType = AudioPathSelGetDeviceType(tpins);
281 int32_t tpins, struct AudioHwRenderParam *renderParam, cJSON *cJsonObj, const char *deviceType, int32_t value)
288 int32_t ret = SetRenderPathValue(tpins, cJsonObj, renderParam, value);
323 int32_t tpins, struct AudioHwRenderParam *renderParam, cJSON *cJsonObj, int32_t value)
331 if ((j & tpins) == j) {
351 int32_t tpins = pins & OUTPUT_MASK;
362 switch (tpins) {
370 ret = SetMatchRenderDevicePath(tpins, renderParam, cJsonObj, SPEAKER, AUDIO_DEV_ON);
378 ret = SetMatchRenderDevicePath(tpins, renderParam, cJsonObj, HEADPHONES, AUDIO_DEV_ON);
386 ret = SetMatchRenderDevicePath(tpins, renderParam, cJsonObj, EARPIECE, AUDIO_DEV_ON);
390 ret = SetMatchRenderDevicePath(tpins, renderParam, cJsonObj, BLUETOOTH_SCO, AUDIO_DEV_ON);
393 ret = SetMatchRenderOtherDevicePath(tpins, renderParam, cJsonObj, AUDIO_DEV_ON);
460 int32_t tpins, cJSON *captureSwitchObj, struct AudioHwCaptureParam *captureParam, int32_t value)
466 const char *captureDeviceType = AudioPathSelGetDeviceType(tpins);
512 struct AudioHwCaptureParam *captureParam, cJSON *cJsonObj, int32_t tpins, char *deviceType, int32_t value)
519 int32_t ret = SetCapturePathValue(tpins, cJsonObj, captureParam, value);
556 struct AudioHwCaptureParam *captureParam, cJSON *cJsonObj, int32_t tpins, int32_t value)
565 if ((i & tpins) == i) { /* Select which device to open and get the pin of which device */
595 int32_t tpins = pins & INPUT_MASK;
596 switch (tpins) {
603 ret = SetMatchCaptureDevicePath(captureParam, cJsonObj, tpins, MIC, AUDIO_DEV_ON);
611 ret = SetMatchCaptureDevicePath(captureParam, cJsonObj, tpins, HS_MIC, AUDIO_DEV_ON);
619 ret = SetMatchCaptureDevicePath(captureParam, cJsonObj, tpins, BLUETOOTH_SCO_HEADSET, AUDIO_DEV_ON);
622 ret = SetMatchCaptureOtherDevicePath(captureParam, cJsonObj, tpins, AUDIO_DEV_ON);