1 /****************************************************************************** 2 * 3 * Copyright (C) 2016 The Android Open Source Project 4 * Copyright (C) 2009-2012 Broadcom Corporation 5 * 6 * Licensed under the Apache License, Version 2.0 (the "License"); 7 * you may not use this file except in compliance with the License. 8 * You may obtain a copy of the License at: 9 * 10 * http://www.apache.org/licenses/LICENSE-2.0 11 * 12 * Unless required by applicable law or agreed to in writing, software 13 * distributed under the License is distributed on an "AS IS" BASIS, 14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 * See the License for the specific language governing permissions and 16 * limitations under the License. 17 * 18 ******************************************************************************/ 19 20 #ifndef BTIF_A2DP_AUDIO_INTERFACE_H 21 #define BTIF_A2DP_AUDIO_INTERFACE_H 22 23 #include "bta_av_api.h" 24 25 /*Default LDAC bitrate */ 26 #define DEFAULT_LDAC_BITRATE_48KHZ 660000 27 #define DEFAULT_LDAC_BITRATE_441KHZ 606000 28 29 void btif_a2dp_audio_on_started(tBTA_AV_STATUS status); 30 void btif_a2dp_audio_on_stopped(tBTA_AV_STATUS status); 31 void btif_a2dp_audio_on_suspended(tBTA_AV_STATUS status); 32 void btif_a2dp_audio_interface_start_session(void); 33 void btif_a2dp_audio_interface_end_session(void); 34 35 #endif /* BTIF_A2DP_AUDIO_INTERFACE_H */ 36