Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit df948887 authored by Jaideep Sharma's avatar Jaideep Sharma
Browse files

audio_extn: reduce sleep time if soundcard is not up.

1 sec sleep time is too much, it leads to delay in upper layers,
reduce it to 400msec

Change-Id: I982d66c8bd256c25de48a8b76d2a8cfcd1fd6670
parent 0ca8d6b0
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2717,8 +2717,8 @@ int audio_extn_utils_pcm_get_dsp_presentation_pos(struct stream_out *out __unuse
#endif

#define MAX_SND_CARD 8
#define RETRY_US 1000000
#define RETRY_NUMBER 40
#define RETRY_US 400000
#define RETRY_NUMBER 100
#define PLATFORM_INFO_XML_PATH          "audio_platform_info.xml"
#define PLATFORM_INFO_XML_BASE_STRING   "audio_platform_info"