Home
last modified time | relevance | path

Searched refs:audio_source (Results 1 – 6 of 6) sorted by relevance

/hardware/qcom/audio/hal/msm8960/
Dplatform.c1047 void platform_set_audio_source_delay(audio_source_t audio_source, int delay_ms) in platform_set_audio_source_delay() argument
1049 if ((audio_source < AUDIO_SOURCE_DEFAULT) || in platform_set_audio_source_delay()
1050 (audio_source > AUDIO_SOURCE_MAX)) { in platform_set_audio_source_delay()
1051 ALOGE("%s: Invalid audio_source = %d", __func__, audio_source); in platform_set_audio_source_delay()
1055 audio_source_delay_ms[audio_source] = delay_ms; in platform_set_audio_source_delay()
1059 int64_t platform_get_audio_source_delay(audio_source_t audio_source) in platform_get_audio_source_delay() argument
1061 if ((audio_source < AUDIO_SOURCE_DEFAULT) || in platform_get_audio_source_delay()
1062 (audio_source > AUDIO_SOURCE_MAX)) { in platform_get_audio_source_delay()
1063 ALOGE("%s: Invalid audio_source = %d", __func__, audio_source); in platform_get_audio_source_delay()
1067 return 1000LL * audio_source_delay_ms[audio_source]; in platform_get_audio_source_delay()
/hardware/qcom/audio/hal/
Dplatform_info.c534 audio_source_t audio_source = -1; in process_audio_source_delay() local
541 audio_source = platform_get_audio_source_index((const char *)attr[1]); in process_audio_source_delay()
543 if (audio_source < 0) { in process_audio_source_delay()
554 platform_set_audio_source_delay(audio_source, atoi((char *)attr[3])); in process_audio_source_delay()
Dplatform_api.h213 void platform_set_audio_source_delay(audio_source_t audio_source, int delay_ms);
/hardware/qcom/audio/hal/msm8916/
Dplatform.c2585 void platform_set_audio_source_delay(audio_source_t audio_source, int delay_ms)
2587 if ((audio_source < AUDIO_SOURCE_DEFAULT) ||
2588 (audio_source > AUDIO_SOURCE_MAX)) {
2589 ALOGE("%s: Invalid audio_source = %d", __func__, audio_source);
2593 audio_source_delay_ms[audio_source] = delay_ms;
2597 int64_t platform_get_audio_source_delay(audio_source_t audio_source)
2599 if ((audio_source < AUDIO_SOURCE_DEFAULT) ||
2600 (audio_source > AUDIO_SOURCE_MAX)) {
2601 ALOGE("%s: Invalid audio_source = %d", __func__, audio_source);
2605 return 1000LL * audio_source_delay_ms[audio_source];
/hardware/libhardware_legacy/include/hardware_legacy/
DAudioSystemLegacy.h55 enum audio_source { enum
/hardware/qcom/audio/hal/msm8974/
Dplatform.c3855 void platform_set_audio_source_delay(audio_source_t audio_source, int delay_ms) in platform_set_audio_source_delay() argument
3857 if ((audio_source < AUDIO_SOURCE_DEFAULT) || in platform_set_audio_source_delay()
3858 (audio_source > AUDIO_SOURCE_MAX)) { in platform_set_audio_source_delay()
3859 ALOGE("%s: Invalid audio_source = %d", __func__, audio_source); in platform_set_audio_source_delay()
3863 audio_source_delay_ms[audio_source] = delay_ms; in platform_set_audio_source_delay()
3867 int64_t platform_get_audio_source_delay(audio_source_t audio_source) in platform_get_audio_source_delay() argument
3869 if ((audio_source < AUDIO_SOURCE_DEFAULT) || in platform_get_audio_source_delay()
3870 (audio_source > AUDIO_SOURCE_MAX)) { in platform_get_audio_source_delay()
3871 ALOGE("%s: Invalid audio_source = %d", __func__, audio_source); in platform_get_audio_source_delay()
3875 return 1000LL * audio_source_delay_ms[audio_source]; in platform_get_audio_source_delay()