********************************************************************************/
void btif_av_clear_remote_suspend_flag(void);
+ /*******************************************************************************
+ **
+ ** Function btif_av_peer_supports_3mbps
+ **
+ ** Description Check if the connected A2DP device supports
+ ** 3 Mbps EDR. This function will only work while connected.
+ ** If not connected it will always return false.
+ **
+ ** Returns TRUE if remote device is EDR and supports 3 Mbps
+ **
+ *******************************************************************************/
+ BOOLEAN btif_av_peer_supports_3mbps(void);
+
+#ifdef __cplusplus
+}
+#endif
+
#endif /* BTIF_AV_H */
return ((UINT64)ts_now.tv_sec * USEC_PER_SEC) + ((UINT64)ts_now.tv_nsec / 1000);
}
-static void log_tstamps_us(char *comment, uint64_t now_us)
+static void log_tstamps_us(const char *comment, uint64_t timestamp_us)
{
- static UINT64 prev_us = 0;
+ static uint64_t prev_us = 0;
+ const UINT64 now_us = timestamp_us;
APPL_TRACE_DEBUG("[%s] ts %08llu, diff : %08llu, queue sz %d", comment, now_us, now_us - prev_us,
fixed_queue_length(btif_media_cb.TxAaQ));
prev_us = now_us;