summaryrefslogtreecommitdiffstats
path: root/libaudio
Commit message (Collapse)AuthorAgeFilesLines
* Modified libaudio to use libsamsung-ril-client.soPaulK2012-07-091-4/+4
|
* aries-common: Fix "tunnel voice" bug for Vibrant, possibly others.Daniel Bateman2012-05-111-2/+2
| | | | | | | | | | | | | | Problem: During incoming calls, some users sound very echoey to the caller. Hypothesis: setCallClockSync() is being called even entering MODE_RINGTONE, when it makes sense that it should only be called when actually entering the call itself, this also supports why it doesn't happen on outgoing calls, i.e. instantly entering the call and activating the call clock sync rather than activating it at the ringtone. Solution: Restrict setCallClockSync() to only fire when prevMode != IN_CALL && mMode == IN_CALL. Change-Id: Ie6c923846e98bb8b7e42520b831dbaf7f671d4d1
* Revert "audio HAL: fix some audio mode transitions"Pawit Pornkitprasan2012-01-211-5/+3
| | | | | | | | | This reverts commit 49cb776c1a5d056c345d90465f8006ef23d947b0. This commit was not present for crespo gingerbread release and breaks calls on certain modems/carriers for us (in a new way). Change-Id: If679716844d092d18a2c4c945fd3b0b8c48136f9
* aries-common: libaudio fixes from crespoPawit Pornkitprasan2012-01-032-16/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit c79f9430a7aa73b8163c8be0e749517204e7950a Author: Eric Laurent <elaurent@google.com> Date: Thu Sep 8 18:36:19 2011 -0700 audio HAL: fix some audio mode transitions The logic controlling the CP clock and audio path in setMode() was incorrect for certain transitions. In particular, the sequence IN_CALL -> RINGTONE -> IN_COMMUNICATION -> IN_CALL would cause a loss of call audio. Change-Id: I4a6bcca32e6e33f965874ad2219f2728b9035e4a commit 0859b44015b1e137146cb9be9d09579835430880 Author: Eric Laurent <elaurent@google.com> Date: Thu Mar 17 18:57:48 2011 -0700 Fix issue 4126225: setMicMute() execution time The cause is that the thread executing setMicMute() can wait for several seconds before acquiring the input thread mutex when audio capture is active. The fix consists in forcing a sleep of the capture thread when standby() (called by setMicMute()) wants the mutex. Applied the same fix to output stream and to setParameters() function. Change-Id: I3e55670d2aad16b67d44ca8582ed16398143ff6e commit 240a174d3edc05c82821ab89337d3420cbc1564c Author: UK KIM <w0806.kim@samsung.com> Date: Sat Feb 19 04:08:30 2011 +0900 SOUND: set incall volume when user starts call. modem side doesn't store volume setting when device is rebooted. When audio mode is incall, set current voice volume to modem. Current incall volume is stored when upper layer sets or AudioService is started. Change-Id: Icfeb0273dda55354e207d464884ef99f41c5fdec Signed-off-by: UK KIM <w0806.kim@samsung.com> Change-Id: I13ff29935913a13a7ff200ae01ac69b01cd06c87
* Set proper FM volume on startPawit Pornkitprasan2011-09-182-0/+5
| | | | Change-Id: I144433443cbf5c65693cbe584e987977c9f4d24b
* ifdef the usage of FMRadioatinm2011-09-141-1/+2
| | | | Change-Id: Ibbc9581b15fbe802f60826237a88b2a42f2b4a4a
* libaudio: Fix FM Radio to work with other android soundsPawit Pornkitprasan2011-09-022-38/+71
| | | | | | | | | | | | | | | | - Run openPcmOut_l and openMixer_l regardless if whether they are already initialized or not. (These functions have a open counter and they will be closed prematurely if we don't declare that we are going to use them.) - Fix invalid output device after playing notification - Fix resuming FM radio after call ended Note: resuming FM radio after notification is also dependent on a patch to FM.apk Change-Id: I8ab9fe74bb5a099252e0c1072a40e86209bc4a05
* libaudio: Improve FM RadioPawit Pornkitprasan2011-08-262-7/+60
| | | | | | | | | | | | | | | - Set the volume control of the Si4709 chip (I891574d6 originally did this) - Set the playback path to HP, HP_NO_MIC, SPK as appropriate (allows WM8994 to apply its analog gain) - Turn off FM Radio properly to allow WM8994 to be turned off after disabling FM Radio (fixes battery drain and routing problems which caused FM Radio to be mute if you listen to FM, listen to music and listen to FM again.) Change-Id: Id04aaddc6de5ffe1c0826bea33fc8ec633afd419
* Allow FM radio to be used on non-mic headsetPawit Pornkitprasan2011-08-231-37/+28
| | | | | | | | The value associated with 'fm_on' and 'fm_off' should not be checked because the values are different for mic/non-mic headphones. (And there are no other instances where these properties are set.) Change-Id: I4c8eef2da554314045769a6ae5099e5c147699bb
* Make libaudio build conditional on TARGET_PROVIDES_LIBAUDIOatinm2011-07-131-1/+1
| | | | Change-Id: Ife25a0fbd98db50ddb5fbcf5d957ea2114cc5297
* fascinatemtd uses its own libaudio code, don't build this versionjt11342011-07-091-0/+4
|
* libaudio: added support for fmradiocodeworkx2011-05-313-3/+122
| | | | Change-Id: I859f06768e8cb3e60cadc17346b72952feffba09
* moved to device/samsung/aries-commonatinm2011-05-1713-0/+4823