summaryrefslogtreecommitdiffstats
path: root/audio_a2dp_hw
Commit message (Collapse)AuthorAgeFilesLines
* a2dp hw: adding a2dp tuning through bdroid_buildcfg.htbalden2013-03-243-1/+50
| | | | | | | | | | | | | | | | | | | | | | | | This adds possibility to configure a2dp tuning on an arbitrary sysfs path and arbitrary ON/OFF values. It's activated when a2dp is being used, and deactivates when a2dp is stopped. This way a device can either use an a2dp_tuning sysfs file or cpu scaling min freq sysfs path with a target min_freq value for elevation. Here are two example of the two strategies of usage for this: bdroid_buildcfg.h - sysfs tuning file #define A2DP_HW_SYSFS_TUNER "/sys/devices/platform/tegra_uart.2/a2dp_tuning" #define A2DP_HW_SYSFS_TUNER_OFF "0" #define A2DP_HW_SYSFS_TUNER_ON "1" bdroid_buildcfg.h - scaling min freq file #define A2DP_HW_SYSFS_TUNER "/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq" #define A2DP_HW_SYSFS_TUNER_OFF "0" #define A2DP_HW_SYSFS_TUNER_ON "204000" Change-Id: I2cd94e626eb2a6d04a6e52ddac94fa5773eb09d8
* Bluetooth: Change Sampling Frequency to 48 kHzSunny Kapdi2013-01-282-0/+11
| | | | | | | Change Default Sampling Frequency to 48 kHz by default to match Audio Source. CRs-fixed: 436686 Change-Id: I0a4aa9ca61964e76220c77fa60c281f7a5df58b4
* Reduced logging before/after music play/pauseKausik Sinnaswamy2012-09-251-6/+6
| | | | | | | A burst of log messages are sent right music is paused. Moved these as verbose logs. bug 7222516 Change-Id: I08a0583eb1b96734e3fdbd0c97cd3a93d9a0304f
* Initual Bluetooth open source releaseAndre Eisenbach2012-09-183-79/+21
| | | | | | | | First release under Apache source license with updated header files and whitespace cleanups. Also fixed file permission to remove executable bit from source files. Change-Id: I7155903edfc2f491c1cbbd0db108f207852caaa0
* Revert "Header file and whitespace cleanups"Matthew Xie2012-09-181-1/+1
| | | | | | | | This reverts commit cc914cffd521b2e6e1be804c82aea2388b843ebf More changes in the original CL after my cherry-pick. Change-Id: Ic144dba96aeb8a60611baac7565c9f628ab8f9eb
* Header file and whitespace cleanupsAndre Eisenbach2012-09-181-1/+1
| | | | | | | Also fixed file permission to remove executable bit from source files. Change-Id: I6954c2d16190bc35b1b0d38386543253696b1112
* bluedroid: clean up a2dp log spewIliyan Malchev2012-09-101-36/+38
| | | | | Change-Id: I6f9459197724cbb2824f4160f7f366bfe7631556 Signed-off-by: Iliyan Malchev <malchev@google.com>
* audio: audio device API 2.0Eric Laurent2012-09-071-8/+0
| | | | | | Remove obsolete get_supported_devices() function. Change-Id: I4e2e6daa2222b9c7b6c685d8ac0763dc5f8cdaa9
* audio: fix get_parameters()Eric Laurent2012-08-301-1/+3
| | | | | | | | Fix two bugs in adev_get_parameters(): - the str_parms struct was not destroyed causing a memory leak. - get_parameters() should return an empty string, not NULL. Change-Id: Icdf2803afe82fa4be7950b4659f850b772381f17
* Minimized Bluetooth data traces (including L2CAP)Kausik Sinnaswamy2012-08-221-12/+12
| | | | | | | Configured the trace level to not report logs which are marked DEBUG or VERBOSE. Change-Id: I3112128d20140b28523edf439a1b6bd0c255d835
* Do not auto-resume when A2DPSuspended is FALSEKausik Sinnaswamy2012-07-251-2/+6
| | | | | | | | Instead if music was streaming prior to the suspend, we just set the state to STANDBY and expect the AVDTP start to be triggered when the first data packet is sent Change-Id: Ia1486033c251c637b1560c41f7e8e07ca2201136
* configure avdtp signalling timeout to default value (4 secs)Mattias Agren2012-07-251-2/+8
| | | | | | | | | | | also added mutex protection for any a2dp control path signalling to ensure only one outstanding request at a time Change-Id: I06d95793a8632f6a8baec967a1d8440ecce8a65d Conflicts: audio_a2dp_hw/audio_a2dp_hw.c
* Gaurd out_standby() API with mutexMatthew Xie2012-07-141-3/+10
|
* interwork with new audio.h prototypesMatthew Xie2012-07-141-21/+24
|
* replace logx with alogxMatthew Xie2012-07-141-3/+3
| | | | | | | | | | | | | | | | | Conflicts: btif/src/btif_core.c btif/src/btif_dm.c btif/src/btif_hh.c btif/src/btif_sock.c gki/ulinux/gki_ulinux.c hci/include/bt_hci_bdroid.h hci/src/bt_hci_bdroid.c hci/src/btsnoop.c hci/src/hci_h4.c hci/src/userial.c vendor/libvendor/src/hardware.c vendor/libvendor/src/upio.c
* Ensure we ack back suspend request if we are not ready for itMattias Agren2012-07-141-0/+22
| | | | | | | Block audioflinger/a2dp hal from trying to restart stream while we are remotely suspended. Change-Id: I17577306f1be248857a8484a22a8a14cb956ec19
* AV rate correction for inaccurate GKI timersHarish Paryani2012-07-142-18/+19
| | | | Change-Id: I70bf6e759e46a49ac2ad31d024d8ac96bb76571e
* Added new control and data path interface between audioflinger a2dp HALMattias Agren2012-07-143-0/+1229
and stack. Added support for suspend and a dedicated HAL callback notifying framework on audiopath events. Cleanup. Change-Id: I3b738611bc8e1d84794f7207413fd9e7dd1fc668