summaryrefslogtreecommitdiffstats
path: root/audio
Commit message (Collapse)AuthorAgeFilesLines
* SetMute functionWolfgang Wiedmeyer2015-12-221-2/+2
| | | | | | allows to mute the mic via the audio-ril-interface Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
* remove duplicate brightness settings and silence.wav is now in smdk4412-commonWolfgang Wiedmeyer2015-12-221-0/+0
| | | | Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
* Merge remote-tracking branch 'replicant/replicant-4.2' into replicant-6.0Wolfgang Wiedmeyer2015-12-173-3/+3
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | ril and vibrator do not work Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de> Conflicts: cm.mk i9300.mk include/telephony/ril.h init.smdk4x12.rc overlay/frameworks/base/core/res/res/values/config.xml system.prop
| * Audio-RIL-InterfacePaul Kocialkowski2014-01-041-1/+1
| | | | | | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
| * i9300: audio: play silence on bootcm-10.1.3-RC2cm-10.1.3-RC1cm-10.1.3Daniel Hillenbrand2013-07-251-0/+0
| | | | | | | | | | | | workaround for dead incall audio if no sound got played after boot Change-Id: I1ee26e438cf980afdb618539aa0377453b730abe
* | i9300: Fix broken AIF2 logicJustArchi2015-11-251-4/+0
| | | | | | | | | | | | | | We have only one analog source and one speaker, do not use right (mute) channel for AIF2 Change-Id: I65780e0d022263976712e79a70bf217bf1b988eb
* | audio: enable noise suppression by defaultDheeraj CVR2015-11-251-15/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Framework was responsible for enabling or disabling the noise suppression using audio parameters. However, this is currently broken in lollipop and most of the newer devices have noise suppression enabled by default. Use noise suppression when using the default input device (main microphone). Conflicts: audio/audio_hw.c overlay/packages/services/Telephony/res/values/config.xml Change-Id: Ie8bdfe1d9860fdad996640d1664e8111df7d3cec
* | audio: remove deprecated audio_stream_frame_sizeMarcKe2015-11-251-9/+9
| | | | | | | | Change-Id: I8593343012faf5b528df03cc9ed098bf44b66888
* | audio: forward call mute to RIL client interfaceDheeraj CVR2015-11-253-2/+21
| | | | | | | | Change-Id: Iccb763b48a687b88692c84976a7cddf72031b5be
* | audio: set noise suppression based on audio parameterDheeraj CVR2015-11-252-9/+20
| | | | | | | | Change-Id: Ie28205afda03280d9cc6437a7c98f7b995fd4f50
* | audio: make builtin mic and back mic volumes consistentDheeraj CVR2015-11-252-11/+1
| | | | | | | | Change-Id: I25cab57acb84a14200006e832a43676ff3c8b9d0
* | audio: fix noise supression and update mixer ctlsDheeraj CVR2015-11-252-103/+37
| | | | | | | | Change-Id: I5b76be2d7d5d9754974295fce81b26498ccee391
* | Audio parameter for setting noise suppressionKetut Putu Kumajaya2014-10-101-1/+1
| | | | | | | | Change-Id: I1fb529396f7a039bf9843368f4f1b5036c889e82
* | i9300: audio: bring back removed microphone fixDheeraj CVR2014-03-241-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | http://review.cyanogenmod.org/61104 has reverted http://review.cyanogenmod.org/51085 which has bought back issues with microphone after a voice call. After a voice call, the microphone is either not working or the recorded audio is very faint and not audible. The Input device has to be explicitly set to AUDIO_DEVICE_NONE after a voice call, since force_all_standby() wouldn't work for a voice call usecase. More details about the fix is included in the gerrit comments for the actual patch. Change-Id: I87c63b0ec4390ec3e5703e1de5804c10289ee423
* | i9300: audio: fix input device selectionDheeraj CVR2014-03-241-1/+3
| | | | | | | | | | | | | | http://review.cyanogenmod.org/61104 broke input device selection resulting in single channel audio for recordings. Change-Id: I58d5a0997b22cfe5489030e698e83d1768161132
* | Merge "i9300: audio: update hal" into cm-11.0Ricardo Cerqueira2014-03-142-76/+117
|\ \
| * | i9300: audio: update halUtkarshGupta2014-03-142-76/+118
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Brings the audio in line with i9305, n7100, n7105 Fixes various issues. Only bug left now is audio stutter in real racing 3 which is probably due to the lovely hwcomposer. Change-Id: I67b0df685e4175b248d2f75608c47cb2bfe85527
* | | Merge "i9300: audio: hal update" into cm-11.0Ricardo Cerqueira2014-03-141-4/+8
|\ \ \
| * | | i9300: audio: hal updatemarkcs2014-03-141-4/+8
| |/ / | | | | | | | | | | | | | | | fix issue where audio would stop working in or after call. Change-Id: I1ad44e2621a30a01f1ebc63bd87eefdb695ff33c
* | | i9300: audio: fix battery drain after phone callJavier Ferrer2014-03-141-0/+1
|/ / | | | | | | Change-Id: I12b038aeb3065eec335966674be14957170eb213
* | i9300: audio: don't disable back mic upon voice call endDheeraj CVR2013-10-081-2/+0
| | | | | | | | | | | | | | | | | | Back or Secondary Microphone (Sub Mic) is turned on and off using noise_suppression parameter from adev_set_parameters and hence it is not required to disable the back mic explicitly in voicecall_default_disable Change-Id: I0959bfb0d49c0ba75795f5374e6f5ba5eac59cf1
* | i9300: audio: properly set routing and standby after voice callDheeraj CVR2013-10-051-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | Disabling the voice call route using voicecall_default_disable is not sufficient since there are additional routes which are used during a voice call, which have to be properly disabled. Also, set the input device to standy which prevents the mic from not working for the first time after a voice call. This could also serve a potential fix for battery drain issues after voice call. Change-Id: I0acd41deafd49da50857d6fe6396c3b5270d911c
* | Do not disable voice call route on adev_openJavier Ferrer2013-09-241-3/+0
| | | | | | | | | | | | | | This tries to correct bug: - Mic does not work immediately after a new start / reboot Change-Id: If246adfef443d61897a280a143d993807e5e56c2
* | i9300: audio: disable voicecall route on init and leaving incall stateDaniel Hillenbrand2013-08-161-16/+24
| | | | | | | | Change-Id: I5e1ca99f19a715ef509825d46103c60f10d35ce2
* | i9300: use unified init.smdk4x12.rcDaniel Hillenbrand2013-08-101-0/+0
| | | | | | | | Change-Id: I8a09a9f63d72d261b1cad647438194b30a9d20e8
* | i9300: audio: play silence on bootDaniel Hillenbrand2013-07-261-0/+0
|/ | | | | | workaround for dead incall audio if no sound got played after boot Change-Id: I1ee26e438cf980afdb618539aa0377453b730abe
* Improve mic sound when using an headset.abmantis2013-07-151-2/+2
| | | | Change-Id: I879ef9ff3a8f6dbcb0d9beb859c8f7bd854984b9
* i9300: audio: fix capture period size and countDaniel Hillenbrand2013-05-271-2/+2
| | | | Change-Id: Ifca254e959f447a5794441ff0e6310a7f98e37c1
* i9300: audio: always request stereo inputDaniel Hillenbrand2013-05-271-2/+8
| | | | Change-Id: Id721c2727fb23340a0730746979843c6dfb41285
* i9300: audio: force use both mics when back mic is selectedDaniel Hillenbrand2013-05-241-1/+5
| | | | | | for video recording Change-Id: Iaf8b878f7dc0a545ada41eab50962a945254c5f1
* i9300: audio config cleanupcodeworkx2013-03-281-2/+3
| | | | Change-Id: Ibde13efbe4b93ec200bfa7d4720ca223de2efc68
* i9300: fix dock audiocodeworkx2013-03-281-2/+9
| | | | Change-Id: I44b8c3ec52652ff9f57a70aacd4c5156818e0037
* i9300: audio: remove mutex lock at adev_set_voice_volumecodeworkx2012-12-091-2/+0
| | | | | | | if set_mode is called it's locking and calls adev_set_voice_volume which fails to lock then. Change-Id: I0b7e030e7f3a6d9448b75038941f2a367eb67504
* i9300: update audio hal for mr1codeworkx2012-11-231-67/+63
| | | | Change-Id: I0294772fc8252648c23f9b13996059748f87f4eb
* i9300: implement noise suppression for callscodeworkx2012-11-184-1/+55
| | | | Change-Id: Iadf1c59ae5d94364bccad97ca2f49d6a68c80244
* audio: reselect devices when switching to amr wbDaniel Hillenbrand2012-08-101-1/+1
| | | | Change-Id: I9d4cf6ff2b7109585c18bc472a49296741003bac
* audio: enable +30db boost for headset micDaniel Hillenbrand2012-08-012-6/+10
|
* audio: finetuning and cleanupDaniel Hillenbrand2012-07-312-8/+19
| | | | Change-Id: Ibf95d161c60f8dbee8a8c9b13999c90fd6f460c3
* audio: disable back-mic till someone figured out how to useDaniel Hillenbrand2012-07-291-1/+0
|
* audio: reset mixer states when bluetooth was in use for incallDaniel Hillenbrand2012-07-292-0/+18
|
* audio: use back-mic for calls on headphoneDaniel Hillenbrand2012-07-241-2/+2
|
* audio: fix non working main-mic when unplugging headset during voicecallDaniel Hillenbrand2012-07-242-5/+40
| | | | Change-Id: Ic1623756f73da275b48bffb59163961e92f45e39
* jellybeanedDaniel Hillenbrand2012-07-224-308/+978
|
* audio: fix non working speaker after booting with hp plugged incodeworkx2012-07-171-1/+1
| | | | Change-Id: I7fbf1587f4def7fa8bd8f17c12142eeec66679f7
* i9300: use opensource audio halcodeworkx2012-07-165-0/+2829
Change-Id: I7fc2ced9802d0519ea9be3e70a8c61425a5c1171