diff options
author | Mattias Agren <magren@broadcom.com> | 2012-04-11 13:14:44 -0700 |
---|---|---|
committer | Matthew Xie <mattx@google.com> | 2012-07-14 11:19:17 -0700 |
commit | 2f9c0a7966a08936e8ae7a03ab8fbf1de3b22e0e (patch) | |
tree | 524f260c46e0960216900dda7559f6f87e5873f3 /btif/include | |
parent | 8e6e9356d5386501d5e0988ce23d0c9aaed31a64 (diff) | |
download | external_bluetooth_bluedroid-2f9c0a7966a08936e8ae7a03ab8fbf1de3b22e0e.zip external_bluetooth_bluedroid-2f9c0a7966a08936e8ae7a03ab8fbf1de3b22e0e.tar.gz external_bluetooth_bluedroid-2f9c0a7966a08936e8ae7a03ab8fbf1de3b22e0e.tar.bz2 |
Always check if reconfig is needed prior to starting an
avdtp stream. Added autoadjusting bitpool if sink requests
a particular range within our exported capability.
Cleanup & fixing file permissions.
Change-Id: Ib5638706d4baef072c79a70ce1497140c3357a0d
Diffstat (limited to 'btif/include')
-rw-r--r-- | btif/include/btif_av_api.h | 1 | ||||
-rw-r--r-- | btif/include/btif_av_co.h | 14 | ||||
-rw-r--r--[-rwxr-xr-x] | btif/include/btif_hl.h | 0 | ||||
-rw-r--r-- | btif/include/btif_media.h | 1 | ||||
-rw-r--r--[-rwxr-xr-x] | btif/include/btif_storage.h | 0 | ||||
-rw-r--r--[-rwxr-xr-x] | btif/include/btif_util.h | 0 |
6 files changed, 16 insertions, 0 deletions
diff --git a/btif/include/btif_av_api.h b/btif/include/btif_av_api.h index f7a0304..9f9beeb 100644 --- a/btif/include/btif_av_api.h +++ b/btif/include/btif_av_api.h @@ -72,6 +72,7 @@ *****************************************************************************/ /* codec type */ +#define BTIF_AV_CODEC_NONE 0xFF #define BTIF_AV_CODEC_SBC A2D_MEDIA_CT_SBC /* SBC media codec type */ #define BTIF_AV_CODEC_PCM 0x5 /* Raw PCM */ diff --git a/btif/include/btif_av_co.h b/btif/include/btif_av_co.h index fd108d1..9945e8e 100644 --- a/btif/include/btif_av_co.h +++ b/btif/include/btif_av_co.h @@ -186,4 +186,18 @@ void bta_av_co_init(void); *******************************************************************************/ BOOLEAN bta_av_co_peer_cp_supported(tBTA_AV_HNDL hndl); +/******************************************************************************* + ** + ** Function bta_av_co_get_remote_bitpool_pref + ** + ** Description Check if remote side did a setconfig within the limits + ** of our exported bitpool range. If set we will set the + ** remote preference. + ** + ** Returns TRUE if config set, FALSE otherwize + ** + *******************************************************************************/ +BOOLEAN bta_av_co_get_remote_bitpool_pref(UINT8 *min, UINT8 *max); + + #endif diff --git a/btif/include/btif_hl.h b/btif/include/btif_hl.h index 2328609..2328609 100755..100644 --- a/btif/include/btif_hl.h +++ b/btif/include/btif_hl.h diff --git a/btif/include/btif_media.h b/btif/include/btif_media.h index 64303c6..9eda863 100644 --- a/btif/include/btif_media.h +++ b/btif/include/btif_media.h @@ -269,6 +269,7 @@ int btif_a2dp_start_media_task(void); void btif_a2dp_stop_media_task(void); void btif_a2dp_on_init(void); +void btif_a2dp_setup_codec(void); void btif_a2dp_on_idle(void); void btif_a2dp_on_open(void); void btif_a2dp_on_started(tBTA_AV_START *p_av); diff --git a/btif/include/btif_storage.h b/btif/include/btif_storage.h index 6aaa10f..6aaa10f 100755..100644 --- a/btif/include/btif_storage.h +++ b/btif/include/btif_storage.h diff --git a/btif/include/btif_util.h b/btif/include/btif_util.h index a15d1ca..a15d1ca 100755..100644 --- a/btif/include/btif_util.h +++ b/btif/include/btif_util.h |