Skip to content

SDLPerformAudioPassThru in latest build is fairly slow #2041

@kkhemka-amzn

Description

@kkhemka-amzn

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 7.1.1, the delay is usually between 1.4 and 1.6 seconds. When testing the older version which was running 4.7.2, the delay was between 0.9 and 1.2 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 Android and our app on Android takes between 1.2 and 1.4 seconds. When Ford learned this, they requested we start this ticket because ~1.5 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 Android.

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.5 seconds after that. Also from using the older SDL libraries, it takes about half a second more than before.

OS & Version Information
  • iOS Version: 13.3
  • SDL iOS Version: 7.1.1
  • Testing Against: Ford+Alexa iOS App, Ford SYNC head units

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugA defect in the library

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions