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

Commit f26e3965 authored by Myles Watson's avatar Myles Watson Committed by android-build-merger
Browse files

Fix asterisks in block quotes

am: fbfa1a55

Change-Id: I3bf248c9dd9b28f7f18b55df4357489f4999f549
parents 43c71bf4 fbfa1a55
Loading
Loading
Loading
Loading
+30 −30
Original line number Diff line number Diff line
@@ -50,8 +50,8 @@
#include "osi/include/socket_utils/sockets.h"

/*****************************************************************************
**  Constants & Macros
******************************************************************************/
 *  Constants & Macros
 *****************************************************************************/

#define CTRL_CHAN_RETRY_COUNT 3
#define USEC_PER_SEC 1000000L
@@ -70,8 +70,8 @@
#define ASSERTC(cond, msg, val) if (!(cond)) {ERROR("### ASSERT : %s line %d %s (%d) ###", __FILE__, __LINE__, msg, val);}

/*****************************************************************************
**  Local type definitions
******************************************************************************/
 *  Local type definitions
 *****************************************************************************/

typedef enum {
    AUDIO_A2DP_STATE_STARTING,
@@ -121,27 +121,27 @@ struct a2dp_stream_in {
};

/*****************************************************************************
**  Static variables
******************************************************************************/
 *  Static variables
 *****************************************************************************/

/*****************************************************************************
**  Static functions
******************************************************************************/
 *  Static functions
 *****************************************************************************/

static size_t out_get_buffer_size(const struct audio_stream *stream);

/*****************************************************************************
**  Externs
******************************************************************************/
 *  Externs
 *****************************************************************************/

/*****************************************************************************
**  Functions
******************************************************************************/
 *  Functions
 *****************************************************************************/
static void a2dp_open_ctrl_path(struct a2dp_stream_common *common);

/*****************************************************************************
**   Miscellaneous helper functions
******************************************************************************/
 *   Miscellaneous helper functions
 *****************************************************************************/

/* logs timestamp with microsec precision
   pprev is optional in case a dedicated diff is required */
@@ -181,10 +181,10 @@ static int calc_audiotime(struct a2dp_config cfg, int bytes)
}

/*****************************************************************************
**
**   bluedroid stack adaptation
**
*****************************************************************************/
 *
 *   bluedroid stack adaptation
 *
 ****************************************************************************/

static int skt_connect(const char *path, size_t buffer_sz)
{
@@ -304,10 +304,10 @@ static int skt_disconnect(int fd)


/*****************************************************************************
**
**  AUDIO CONTROL PATH
**
*****************************************************************************/
 *
 *  AUDIO CONTROL PATH
 *
 ****************************************************************************/

static int a2dp_ctrl_receive(struct a2dp_stream_common *common, void* buffer, int length)
{
@@ -447,10 +447,10 @@ static void a2dp_open_ctrl_path(struct a2dp_stream_common *common)
}

/*****************************************************************************
**
** AUDIO DATA PATH
**
*****************************************************************************/
 *
 * AUDIO DATA PATH
 *
 ****************************************************************************/

static void a2dp_stream_common_init(struct a2dp_stream_common *common)
{
@@ -558,10 +558,10 @@ static int suspend_audio_datapath(struct a2dp_stream_common *common, bool standb


/*****************************************************************************
**
**  audio output callbacks
**
*****************************************************************************/
 *
 *  audio output callbacks
 *
 ****************************************************************************/

static ssize_t out_write(struct audio_stream_out *stream, const void* buffer,
                         size_t bytes)
+10 −10
Original line number Diff line number Diff line
@@ -28,8 +28,8 @@
#define AUDIO_A2DP_HW_H

/*****************************************************************************
**  Constants & Macros
******************************************************************************/
 *  Constants & Macros
 *****************************************************************************/

#define A2DP_AUDIO_HARDWARE_INTERFACE "audio.a2dp"
#define A2DP_CTRL_PATH "/data/misc/bluedroid/.a2dp_ctrl"
@@ -96,20 +96,20 @@ typedef enum {


/*****************************************************************************
**  Type definitions for callback functions
******************************************************************************/
 *  Type definitions for callback functions
 *****************************************************************************/

/*****************************************************************************
**  Type definitions and return values
******************************************************************************/
 *  Type definitions and return values
 *****************************************************************************/

/*****************************************************************************
**  Extern variables and functions
******************************************************************************/
 *  Extern variables and functions
 *****************************************************************************/

/*****************************************************************************
**  Functions
******************************************************************************/
 *  Functions
 *****************************************************************************/

#ifdef __cplusplus
extern "C" {
+2 −2
Original line number Diff line number Diff line
@@ -845,7 +845,7 @@ void BTA_DmSetBleAdvParams(uint16_t adv_int_min, uint16_t adv_int_max,

/*******************************************************************************
 *                      BLE ADV data management API
 *******************************************************************************/
 ******************************************************************************/

/*******************************************************************************
 *
@@ -1001,7 +1001,7 @@ extern void BTA_DmBleTrackAdvertiser(

/*******************************************************************************
 *                      BLE ADV data management API
 *******************************************************************************/
 ******************************************************************************/

/*******************************************************************************
 *
+2 −2
Original line number Diff line number Diff line
@@ -625,7 +625,7 @@ void BTA_DmPcmInitSamples(uint32_t src_sps, uint32_t bits,
#endif
}

/**************************************************************************************
/*******************************************************************************
 * Function         BTA_DmPcmResample
 *
 * Description      Down sampling utility to convert higher sampling rate into
@@ -640,7 +640,7 @@ void BTA_DmPcmInitSamples(uint32_t src_sps, uint32_t bits,
 *
 * Returns          int32_t: number of samples converted.
 *
 *************************************************************************************/
 ******************************************************************************/
int32_t BTA_DmPcmResample(void* p_src, uint32_t in_bytes, void* p_dst) {
  uint32_t out_sample;

+3 −3
Original line number Diff line number Diff line
@@ -958,7 +958,7 @@ void bta_gattc_read(tBTA_GATTC_CLCB* p_clcb, tBTA_GATTC_DATA* p_data) {
 * Description      read multiple
 *
 * Returns          None.
 ********************************************************************************/
 ******************************************************************************/
void bta_gattc_read_multi(tBTA_GATTC_CLCB* p_clcb, tBTA_GATTC_DATA* p_data) {
  tBTA_GATT_STATUS status = BTA_GATT_OK;
  tGATT_READ_PARAM read_param;
@@ -1028,7 +1028,7 @@ void bta_gattc_write(tBTA_GATTC_CLCB* p_clcb, tBTA_GATTC_DATA* p_data) {
 * Description      send execute write
 *
 * Returns          None.
 ********************************************************************************/
 ******************************************************************************/
void bta_gattc_execute(tBTA_GATTC_CLCB* p_clcb, tBTA_GATTC_DATA* p_data) {
  tBTA_GATT_STATUS status;

@@ -1695,7 +1695,7 @@ static void bta_gattc_cmpl_sendmsg(uint16_t conn_id, tGATTC_OPTYPE op,
 *
 * Returns          void
 *
 *******************************************************************************/
 ******************************************************************************/
static void bta_gattc_cong_cback(uint16_t conn_id, bool congested) {
  tBTA_GATTC_CLCB* p_clcb;
  tBTA_GATTC cb_data;
Loading