Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SDLPerformAudioPassThru in latest build is fairly slow #1735

Open
kkhemka-amzn opened this issue Sep 21, 2021 · 0 comments
Open

SDLPerformAudioPassThru in latest build is fairly slow #1735

kkhemka-amzn opened this issue Sep 21, 2021 · 0 comments

Comments

@kkhemka-amzn
Copy link

kkhemka-amzn commented Sep 21, 2021

Bug Report

When using SDLPerformAudioPassThru, the delay between when the request is sent to the head unit and when the app actually starts receiving the audio data is fairly large. On our app running SDL 5.1.1, the delay is usually between 1.2 and 1.4 seconds. I've checked and both apps are not running anything else at the same time the SDLPerformAudioPassThru request is sent.

I also ran this test on iOS and our app on iOS takes between 1.4 and 1.6 seconds. When Ford learned this, they requested we start this ticket because ~1.3 seconds is far too much for them. Half of the time, the sound being recorded loses so much at the beginning because the jingle is played immediately from the request, but the recording doesn't start till so much later.

We will also be creating a ticket on iOS.

Reproduction Steps
  1. Send SDLPerformAudioPassThru request to head unit
  2. Track time it takes from the time the request is sent to SDL library via sdlManager.send() till when audio data starts coming into the audioDataHandler.
Expected Behavior

Start recording when the jingle is played.

Observed Behavior

Jingle is played and then recording starts ~1.3 seconds after that.

OS & Version Information
  • Android Version: 11.1
  • SDL Android Version: 5.1.1
  • Testing Against: Ford+Alexa Android App, Ford SYNC head units
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant