Loading hal/audio_hw.c +4 −0 Original line number Diff line number Diff line Loading @@ -3367,6 +3367,10 @@ static int adev_open_input_stream(struct audio_hw_device *dev, in->format = config->format; if (in->device == AUDIO_DEVICE_IN_TELEPHONY_RX) { if (adev->mode != AUDIO_MODE_IN_CALL) { ret = -EINVAL; goto err_open; } if (config->sample_rate == 0) config->sample_rate = AFE_PROXY_SAMPLING_RATE; if (config->sample_rate != 48000 && config->sample_rate != 16000 && Loading Loading
hal/audio_hw.c +4 −0 Original line number Diff line number Diff line Loading @@ -3367,6 +3367,10 @@ static int adev_open_input_stream(struct audio_hw_device *dev, in->format = config->format; if (in->device == AUDIO_DEVICE_IN_TELEPHONY_RX) { if (adev->mode != AUDIO_MODE_IN_CALL) { ret = -EINVAL; goto err_open; } if (config->sample_rate == 0) config->sample_rate = AFE_PROXY_SAMPLING_RATE; if (config->sample_rate != 48000 && config->sample_rate != 16000 && Loading