ee72ef4556336cde5d68a44bdbc479286134d1f0 |
|
24-Sep-2012 |
leemin <min47.lee@samsung.com> |
audio: changes ringtone volume when call is comming the ringtone offset has to be setted to analog side. Buganizer : 6920555 According to Samsung's spec, the earphone ringtone volume level should be 14dB lowere than the media playback volume. On ICS, this behavior was working properly, but on JB this behavior is not working properly. Below is the analog and digital volume change from ICS to JB: ICS : Digital Volume = Normal / Analog volume = lowered 14dB JB : Digital Volume = increased 14dB (in comparison to ICS) / Analog volume = lowered 14dB (same as ICS) Hence the volume in JB has increased by 14dB when compared to ICS. Bug 6920555. Change-Id: Ibc248612db378b5b991221468d8f801257ba4103
/device/samsung/tuna/audio/audio_hw.c
|
a33a8e11ac5ba1ca4b3fde29704bc78434e889e9 |
|
18-Sep-2012 |
Simon Wilson <simonwilson@google.com> |
audio: increase toro media speaker volume +2dB Bug: 6878923 Change-Id: Id49d6489e5a99dee088246d146ee38151ba9499c
/device/samsung/tuna/audio/audio_hw.c
|
e71d570bb84a80c9543e0797c0a9bf2082ac88f5 |
|
07-Sep-2012 |
Eric Laurent <elaurent@google.com> |
audio: fix string leakage in out_get_parameters() out_get_parameters() was calling strdup() on the string returned by str_parms_to_str() before returning it to the caller. This creates a new string which is never freed as str_parms_to_str() already allocates a new string. Change-Id: I4bcc4aa17ab55e830d7a0569151f717422f6459b
/device/samsung/tuna/audio/audio_hw.c
|
7530b97de5f19737e895e9069792940ad8ce66a5 |
|
28-Aug-2012 |
Eric Laurent <elaurent@google.com> |
audio: changes for new audio device enums Modifications for new audio device enums: - Separated input and output device fields as output and input device values are now on 32 bits. - Changed audio device API version to 2.0 Also removed get_supported_devices() function not needed if audio_policy.conf file is present. Change-Id: I41b782e7450b4664048cc484a681b9327d8395da
/device/samsung/tuna/audio/audio_hw.c
|
69645ac722fd3eda7b96cac149166fa7ab502fc5 |
|
30-Aug-2012 |
Eric Laurent <elaurent@google.com> |
audio: fix echo reference channels configuration When an auxiliary mic channel is used, the echo reference should use only the main channels to be consistent with the way the reverse effect processing is configured. Change-Id: I28ee1e2a9852fdd0e904fb01bedf90f3372683c9
/device/samsung/tuna/audio/audio_hw.c
|
559a942e6efe21b5beb83c7db50f0986bacfabe2 |
|
08-Aug-2012 |
Glenn Kasten <gkasten@google.com> |
Use 3 ms buffers for low latency path Change-Id: Icf113e2e863a79cb3d870fac5781539702cdbfa8
/device/samsung/tuna/audio/audio_hw.c
|
8bf9bea8cb1867e227a640f98b084a4330602d70 |
|
07-Aug-2012 |
Glenn Kasten <gkasten@google.com> |
Triple buffer if SRC enabled Bug: 6881638 Change-Id: I76255c2cd5845671c2342e22932c692342257208
/device/samsung/tuna/audio/audio_hw.c
|
8eb734e945dd3b55d9fabacfebc02fd25989fa9a |
|
14-Mar-2012 |
Glenn Kasten <gkasten@google.com> |
Use audio_channel_mask_t consistently Change-Id: I90a50b58dd23fe522724df53f08b4f9687150da6
/device/samsung/tuna/audio/audio_hw.c
|
996da01c08a2d168f13d63032de91f9ac21e4cd0 |
|
15-Jun-2012 |
Eric Laurent <elaurent@google.com> |
audio: acquire lock in adev_set_voice_volume() Acquire the audio device mutex before calling into ril library in adev_set_voice_volume() to avoid concurrency with other calls to ril from select_mode() or set_incall_device(). Bug 6626532. Change-Id: I2347477b39ce46137a654047266b70dd691c021c
/device/samsung/tuna/audio/audio_hw.c
|
2cbfd06d4970a05ce26cb39cecffbf0cb3b66436 |
|
18-Jun-2012 |
Eric Laurent <elaurent@google.com> |
audio: fix in call audio path switch issue Switching from BT SCO to earpiece does not seem to work when in call and an output stream is active. This change modifies out_set_parameters() to force the output stream into standby when a new audio path is selected while in call. Bug 6676684. Change-Id: I2817f80ea3fa3a0e00e9705fdb6d9a7e3183549b
/device/samsung/tuna/audio/audio_hw.c
|
d84a8f8c1b3348372fef2c1da743af0cbaefd2d8 |
|
11-Jun-2012 |
Eric Laurent <elaurent@google.com> |
audio: workaround for hdmi multi channel swap Workaround for HDMI multi channel channel swap on first playback after opening the output stream: force re-opening the HDMI pcm driver after writing a few periods. Bug 4282214. Change-Id: Ibe1452a8905a27bc3f95564a45cfb9bb490b65ae
/device/samsung/tuna/audio/audio_hw.c
|
4bf3d14aa11008149793c5d70714face83cf12ca |
|
30-Apr-2012 |
Eric Laurent <elaurent@google.com> |
audio: add support for multichannel HDMI Added a dedicated audio output stream for multichannel HDMI. This output stream is used when an HDMI sink supporting 6 or 8 PCM channels is connected and 5.1 or 7.1 multichannel content it played. Change-Id: I7ad1cd6be4c2b3a9e24a4811aa87e7223badedc4
/device/samsung/tuna/audio/audio_hw.c
|
359a41658a9207831e91d202d69ef4a59905445d |
|
11-May-2012 |
Eric Laurent <elaurent@google.com> |
audio: variable deep buffer size Add back the capability to change the deep buffer size according to screen state. This solves various issues related to audio focus, volume and pause control that arise with large audio buffers. Those issues should be ultimately addressed by changes in the audio framework. Change-Id: I6889ecf0e5d8740745152261f27343e1ff533e7b
/device/samsung/tuna/audio/audio_hw.c
|
d6cc09e49a7d1a3ff90cedca041e040c245d4207 |
|
08-May-2012 |
Eric Laurent <elaurent@google.com> |
audio: fix media volume issues. Fixed 2 issues with media volume: 1 - since we use mm port for music and tones port for other use cases the digital volume should be applied to both "DL2 Tones Playback Volume" and "DL2 Media Playback Volume". 2 - the total gain applied to audio originating from the AP is the combination of digital gain in ABE and analog gain in codec. Some use cases like telephony have a higher priority than media and apply a different (higher) analog gain. As this analog gain is common to all sources, digital media gain should be adjusted accordingly to avoid volume bursts while in call and playing music. This is particularly important in speaker phone mode. Change-Id: I90200282edca7098603edca2d56821290988cb20
/device/samsung/tuna/audio/audio_hw.c
|
079bd66e0f13371cce8693e8ea79d5a75be02942 |
|
02-May-2012 |
Eric Laurent <elaurent@google.com> |
audio: fix memory leak. Fixed memory leak introduced by commit 4e7a573f in case of error in adev_open_output_stream(). Change-Id: I4acc070d748cea228da846f95c7826160e0196a5
/device/samsung/tuna/audio/audio_hw.c
|
4e7a573f67441f9e19098d092a728f8f3784fa57 |
|
14-Apr-2012 |
Eric Laurent <elaurent@google.com> |
audio: add support for deep PCM buffering Implement one output stream with short buffers and one output stream with deep buffers. The stream with short buffers is selected for most use cases and provides short latency. It uses TONES_DL port and IOCTL write mode. The stream with deep buffers is used for music playback. It uses MM_DL port and MMAP NOIRQ write mode. The deep buffer stream is not used when the device selection is BT SCO, HDMI or SPDIF. The echo reference is only taken from the short buffer stream. Change-Id: I60ef720e52e96970b8b6618f9f43f24baadce60b
/device/samsung/tuna/audio/audio_hw.c
|
47623d4e60384727c03e55cf82f48aa1f13698cc |
|
14-Feb-2012 |
Glenn Kasten <gkasten@google.com> |
Adjust output buffer size and sample rate Use 4 buffers of 96 frames each = 4 ms at 48 kHz. Keep the 44.1 kHz -> 48 kHz up-sampler in HAL. Disable mmap mode and non-IRQ mode; this gives better variance for cycle times. Reduce number of buffers from 4 to 2, works OK in non-mmap mode but not mmap mode. Update comments based on code review. Tested with audio input. Not yet tested with echo cancellation. Change-Id: I69db00ab408cd2aad5788d602eb01fc0c7e4e78b
/device/samsung/tuna/audio/audio_hw.c
|
7233787e95bee8fda09e1784ed867a7d22dc9d23 |
|
14-Apr-2012 |
Eric Laurent <elaurent@google.com> |
new audio device API version. Change-Id: I1169d279b4a59355cf4362a7128b053bf940c158
/device/samsung/tuna/audio/audio_hw.c
|
139959c4084a67e01692bcd4cf556cc91f57131e |
|
31-Mar-2012 |
Eric Laurent <elaurent@google.com> |
audio: add dual mic support for pre processing Added support for audio pre processing libraries implementing dual mic solutions. When a pre processor is enabled, its multi channel capabilities are queried and compared to capture channel combinations supported by the device and other enabled pre processings. The most favorable configuration is chosen and pcm capture driver is restarted with the appropriate channel config. Also made various capture and process buffers naming and allocation more consistent. Change-Id: I90be4798951d0a34dc77d6bdc93ef15cad3ff5af
/device/samsung/tuna/audio/audio_hw.c
|
915f5d0ce32cd3ba27b8daebfff379cba42a3e05 |
|
27-Mar-2012 |
Eric Laurent <elaurent@google.com> |
audio: fix audio drop when speaker is selected 2. Commit 78a7609d fixed audio drop at the start of ringtone. This commit fixes another similar issue with camera shutter sound being dropped while in call over headset. There was a workaround for this second issue in audio policy manager but this was not satisfactory as it was impacting all devices for a problem that is Prime specific. Change-Id: I42b37c7da4a232323b520a8a55ac5b3086b5a230
/device/samsung/tuna/audio/audio_hw.c
|
22ab522f99b48bf3c3d5850c72bc270a021258e7 |
|
30-Mar-2012 |
Eric Laurent <elaurent@google.com> |
audio: fix error in capture path delay calculation Fix error in get_capture_delay() that was not taking into account the fact that frames in in->buffer are at driver sampling rate while frames in in->proc_buf are at requested sampling rate. Change-Id: I09e627bd316daedab5ffea3dd638254eaa270a5b
/device/samsung/tuna/audio/audio_hw.c
|
50991e55eebbbc8e259b3e75aa6671c714f26abe |
|
21-Mar-2012 |
Eric Laurent <elaurent@google.com> |
am d28a1a80: am 467c02b6: am 78a7609d: audio: fix audio drop when speaker is selected * commit 'd28a1a802b1965ab4b9014c658240faafe219994': audio: fix audio drop when speaker is selected
|
78a7609d251802da4db864dbbee37967be84514f |
|
17-Mar-2012 |
Eric Laurent <elaurent@google.com> |
audio: fix audio drop when speaker is selected When changing audio path to speaker while playback is active, several hundred ms of audio are dropped. This is mostly noticeable when a ringtone starts playing. This change is a workaround forcing the output in standby when speaker is selected. The root cause must still be indentified and fixed. Change-Id: Idef8dc1cdbf2da499a414d0b60244f91ef66e73b
/device/samsung/tuna/audio/audio_hw.c
|
9063d5e443aeadeeb09c15fbec91cf14c9dbbb1f |
|
14-Mar-2012 |
Glenn Kasten <gkasten@google.com> |
audio_channel_in_mask_from_count Change-Id: Ib1d5af6687479c8d189a3407c229a6ac0ed5c03b
/device/samsung/tuna/audio/audio_hw.c
|
7baaa8644b67e9c0edf75b29bb6c04d7851ee9a2 |
|
14-Feb-2012 |
Glenn Kasten <gkasten@google.com> |
Fix memory leaks Change-Id: If9c95a4808785e58ee4595e5c762d01d87f1936d
/device/samsung/tuna/audio/audio_hw.c
|
68c6ce584e307075f37f18e5b9c817f3c7edc0bd |
|
27-Jan-2012 |
Simon Wilson <simonwilson@google.com> |
resolved conflicts for merge of 8c61349a to master Change-Id: Id432e901f8107a00a7f371e5882b1290a1154961
|
40c820fb04be8932baacd74c2003bd3ac3a41c14 |
|
25-Jan-2012 |
Simon Wilson <simonwilson@google.com> |
audio: support multiple output PCMs Change-Id: I5179699b22224473bd158e90f864e4e73895b5dc
/device/samsung/tuna/audio/audio_hw.c
|
b96375691c68f91d9afb53928d23bf6af33787b8 |
|
12-Jan-2012 |
Glenn Kasten <gkasten@google.com> |
Use audio_format_t consistently Change-Id: I2e2a5f625956dc5d09dbdc3f6f2d9a010ecc7bad
/device/samsung/tuna/audio/audio_hw.c
|
e58be4e4afcbfe598bffa95adbc6c4637ea5e65c |
|
18-Jan-2012 |
Glenn Kasten <gkasten@google.com> |
Turn off execute bit Change-Id: I711920dde1560ca202ef878ee93a2af61545524b
/device/samsung/tuna/audio/audio_hw.c
|
d9733c4318c7303cd03ed4463b4e0c2ab7679a91 |
|
09-Jan-2012 |
Glenn Kasten <gkasten@google.com> |
Use audio_mode_t consistently Change-Id: I7a30fe3f66933aed8b5a6185553112575b4de1a7
/device/samsung/tuna/audio/audio_hw.c
|
87efd3f274564ba53f4956f99766262acd04db30 |
|
08-Jan-2012 |
Steve Block <steveblock@google.com> |
Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE See https://android-git.corp.google.com/g/#/c/157220 Bug: 5449033 Change-Id: I2e1c43800c19b718cc7ee94ec299c62bc14873b4
/device/samsung/tuna/audio/audio_hw.c
|
c0212a26fedcbd53d71b6d2bf429bac7454e089e |
|
06-Jan-2012 |
Steve Block <steveblock@google.com> |
Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF) DO NOT MERGE See https://android-git.corp.google.com/g/157065 Bug: 5449033 Change-Id: I02cfaca251935e4a50ad4302a72c4273be41db22
/device/samsung/tuna/audio/audio_hw.c
|
780fd828f898676a0f7ad8499220452ee6e56770 |
|
13-Dec-2011 |
Eric Laurent <elaurent@google.com> |
am 31688e73: am 7a170e19: audio HAL: release audio pre processing buffers. * commit '31688e73c947845cea86079aefa2dfab68b56c93': audio HAL: release audio pre processing buffers.
|
7a170e19114fefef3f644252d5eabbb5fc6afb9e |
|
13-Dec-2011 |
Eric Laurent <elaurent@google.com> |
audio HAL: release audio pre processing buffers. Buffers allocated for audio pre processing are not released when an input stream is closed. Issue 5753047. Change-Id: Ie8fd5f49d97e9bebc70fc38de0844a79074ac526
/device/samsung/tuna/audio/audio_hw.c
|
5d52b3587788685e81f1d96c0abe778ab94b5b6e |
|
07-Nov-2011 |
UK KIM <w0806.kim@samsung.com> |
audio: delete unused ril-client API. The clock sync func is unused for both HSPA and LTE device. Change-Id: Ia9f369a0151cb3bb15242544e5f5442b893253bc
/device/samsung/tuna/audio/audio_hw.c
|
ecd174b5fc23e6f0fa31e2fbaa8ff071c72f5c52 |
|
02-Nov-2011 |
Simon Wilson <simonwilson@google.com> |
am ec429c13: Merge "audio: force speaker route for call when docked" into ics-mr1 * commit 'ec429c1320e97145b42a8f334ed5506d316bb412': audio: force speaker route for call when docked
|
58fc4654a6ec94f15b07e0642aa1cb16d6474a78 |
|
31-Oct-2011 |
Simon Wilson <simonwilson@google.com> |
audio: force speaker route for call when docked As we did for the HDMI audio case, force the speaker route for calls when in a digital dock because we cannot directly route the modem audio output through the S/PDIF output because it is a McASP device. Fixes bug 5434090 Change-Id: I52ff7877a8be778b9e74eebb3ad2c9f13b634bca
/device/samsung/tuna/audio/audio_hw.c
|
bc3182aead6e278504ebd04484cde4c3c9130901 |
|
26-Oct-2011 |
UK KIM <w0806.kim@samsung.com> |
am 56e8b292: am e6f399a5: audio: decrease headset gain by 14dB for ringtone mode * commit '56e8b292cb2aa15804eb436d48c71e1a98b36550': audio: decrease headset gain by 14dB for ringtone mode
|
e6f399a540256c671f638306545b2bc04654a58f |
|
26-Oct-2011 |
UK KIM <w0806.kim@samsung.com> |
audio: decrease headset gain by 14dB for ringtone mode This is to prevent audio shock in AUDIO_MODE_RINGTONE. Change-Id: Ic21c347a64ee0e2668dbff49dc6addcb93e4d82f
/device/samsung/tuna/audio/audio_hw.c
|
6bf500940c8089b853a08e9ce81a89e85903a152 |
|
20-Oct-2011 |
Steve Block <steveblock@google.com> |
Rename LOGV(_IF) to ALOGV(_IF) DO NOT MERGE See https://android-git.corp.google.com/g/#/c/143865 Bug: 5449033 Change-Id: Iab0aa050fba57491f5cb7ed928f44a0fda7d1ea4
/device/samsung/tuna/audio/audio_hw.c
|
a3799ffeed6f4a9cefbc6e51de0dfa295aa84f13 |
|
07-Oct-2011 |
venkappa mala <venkappa.m@samsung.com> |
audio: Fix pop noises during call switch to the modem Mute and unmute VX_UL gain to avoid pop noises in the tx path during call switch to the modem during the switch it means when audio path changes(Example: Analog path switches from EAR<->HS<->HF). Change-Id: I567d4156a5b9aa7b51d068fe279f942376a5a40c Signed-off-by: venkappa mala <venkappa.m@samsung.com>
/device/samsung/tuna/audio/audio_hw.c
|
1c2783a9135a98548bb2bfbf0a9219f02178f3c0 |
|
19-Oct-2011 |
Simon Wilson <simonwilson@google.com> |
audio: final audio gains following tuning - new gains for toro and maguro devices for various use cases. - use of DL2 digital gains to compensate for lack of range in codec speaker volume. Change-Id: I4ff1ebe79aa53934720389fbef5f60b9c0cc2138
/device/samsung/tuna/audio/audio_hw.c
|
431112d4cc87ad860506ee22cf304569468324ae |
|
20-Oct-2011 |
Simon Wilson <simonwilson@google.com> |
audio: enable DL2 mono mixer only for speaker/media Mono mixer is only strictly required for downmixing stereo media content to the mono speaker, so only enable it then. This works around an issue with modem rx mute when using handsfree. Fixes bug 5481245 Change-Id: I8e4c5400241a0d8bb8d74966b6f612b7bab56301
/device/samsung/tuna/audio/audio_hw.c
|
a4a40e0b7574584643a20df358a5756264620234 |
|
20-Oct-2011 |
Eric Laurent <elaurent@google.com> |
audio: increased low power playback buffer size. Defined new audio buffer sizes to help increase periods of idle CPU with new scaling governor settings. Related to issue 5486806: mp3 playback power re-regressed... Change-Id: I5f0f54d0ef8e189c2e3ac84bf8eed4bafece9111
/device/samsung/tuna/audio/audio_hw.c
|
c0854435fe08a3a15973c1e1e316766ac4c46b3b |
|
19-Oct-2011 |
Changoh.Heo <changoh.heo@samsung.com> |
audio: use 4Khz LPF in DL1 while in voicecall Some metalic noise is happened on headset, earpiece voicecall. Especially, The noise can be felt easily in woman voice. If we use 4Khz LPF, the noise is gone. Change-Id: I106efd89af2b84fad40314c8c07b5f0aa7901c8b Signed-off-by: Changoh.Heo <changoh.heo@samsung.com>
/device/samsung/tuna/audio/audio_hw.c
|
8e3cf4b19102a40d1c8c826de2769d4e401b9ed4 |
|
18-Oct-2011 |
Eric Laurent <elaurent@google.com> |
audio HAL: low power playback off when capturing Disable low power audio playback when audio capture is active even if screen is off to avoid high latency during SIP calls. Change-Id: Ib559bf2877b0cf89731e039b1bfab2bc3806f56a
/device/samsung/tuna/audio/audio_hw.c
|
47b361f2ee2b61ba791ac76e15c19ac7dc4489b1 |
|
17-Oct-2011 |
Simon Wilson <simonwilson@google.com> |
audio: enable DL2 mono mixer for speaker Since the speaker is only connected to the DL2 left channel, downmix all DL2 audio from stereo to mono to avoid losing information. Change-Id: I8f536d3373b5517682722422df648d9d8050b840
/device/samsung/tuna/audio/audio_hw.c
|
753a1248b3619407078f68074de390a8c47d6fe7 |
|
13-Oct-2011 |
Eric Laurent <elaurent@google.com> |
audio HAL: support for low power audio Implement a mechanism to dynamically switch between short and long buffers in kernel pcm driver. Using long buffer significantly decreases power consumption at the expense of latency. Therefore a hint is given to audio HAL by AudioService indicating when the screen is off and low latency is not required any more because neither video playback, VoIP/video chat or any user interaction is expected. This mechanism relies on the support for MMAP and NO IRQ write modes in tinyalsa. Change-Id: Ida9216a141750137a0592187e24a68f263ef3fbe
/device/samsung/tuna/audio/audio_hw.c
|
963b7f331fef72b1519759b96f9390c96ec2c2b4 |
|
14-Oct-2011 |
Eric Laurent <elaurent@google.com> |
audio HAL: change ALSA period size ALSA period sizes must be a multiple of 24 frames to match ABE requirement. Change-Id: I52ac1d5d4a2588a1b66100bfecab6d35339fc718
/device/samsung/tuna/audio/audio_hw.c
|
c07432da6893708220f855e291503fe2daf7053d |
|
22-Sep-2011 |
Simon Wilson <simonwilson@google.com> |
audio: bypass resampler for HDMI audio Native 44.1kHz will be used for HDMI audio since the output device supports it. Change-Id: I60eebf2556c0384e2a4c21150bee2fbbbd5ca6fd
/device/samsung/tuna/audio/audio_hw.c
|
75e0792b8fe2c6c90c4ab9a1793f8ba845e9fa4d |
|
07-Oct-2011 |
Simon Wilson <simonwilson@google.com> |
audio: add locks, only tear down PCMs when needed for WB AMR Change-Id: I03ba325b613aef21dba8d16187aaccca08d2a328
/device/samsung/tuna/audio/audio_hw.c
|
23d17844b14e26bb3e1163119da5fa7b44cc8a42 |
|
07-Oct-2011 |
Simon Wilson <simonwilson@google.com> |
am fcb204e9: Merge "Fix issue 5415809: increase HP volume for TTY." into ics-factoryrom * commit 'fcb204e9329241047ed7564c4808440f62a5c580': Fix issue 5415809: increase HP volume for TTY.
|
22eabce30f89a7cd18995d15128326ec816dcd33 |
|
07-Oct-2011 |
Eric Laurent <elaurent@google.com> |
Fix issue 5415809: increase HP volume for TTY. Increase headphones volume to -2dB when TTY mode is full or VCO as per Samsung's request. Change-Id: I92da179b487c87d07bc363f7344c20cc8779abd6
/device/samsung/tuna/audio/audio_hw.c
|
cc4b5c96d7d30ca4a77b0b452fed5862fee43e2a |
|
27-Sep-2011 |
Simon Wilson <simonwilson@google.com> |
audio: route to S/PDIF when digital dock detected Change-Id: Ia571fca8e0ce384283a15024b6b271231bf86479
/device/samsung/tuna/audio/audio_hw.c
|
209789d6d5cc726599a9832d8597b16c771141a2 |
|
05-Oct-2011 |
Eric Laurent <elaurent@google.com> |
audio HAL: fix echo reference. The number of frames written to the echo reference buffer in out_write() was wrong. As we write frames at the audioflinger sampling rate we should write the number of frames passed to out_write(), not the number of frames passed to tynialsa after resamopling. Change-Id: Ia6a1c7e090c73e1566634a17b720e1e6049b22fe
/device/samsung/tuna/audio/audio_hw.c
|
0758aa1eb49ae1a4cf2e808f937af4583115a8ef |
|
05-Oct-2011 |
Eric Laurent <elaurent@google.com> |
audio HAL: fix start_call() error handling. In case of an error when opening the modem pcm driver in start_call(), the order in which the tinyalsa pcm streams were relased was wrong and could cause calling pcm_close() on a null pcm stream. Change-Id: Iad7149997d3993561f4a3ed4b2005f5867b51c56
/device/samsung/tuna/audio/audio_hw.c
|
d2dbaf991e3f6b730624b7dfc9ce3cda8101b8d7 |
|
27-Sep-2011 |
Simon Wilson <simonwilson@google.com> |
audio: support wideband call audio Some networks support wideband AMR for voice calls. To support this, implement a callback that the RIL uses to set the wideband config. Change-Id: Ifa75ff189cc300728f560b77fd4fb3f1798e776d
/device/samsung/tuna/audio/audio_hw.c
|
196758539e06c7476ca4083e193d52a52929a1cd |
|
30-Sep-2011 |
Simon Wilson <simonwilson@google.com> |
audio: adjust gains based on level tuning Change-Id: I1e7e7738dad3643bd006d19708895f9f5815f429
/device/samsung/tuna/audio/audio_hw.c
|
a100f7d1fa1a6ce3ac1b1488528810cb8c12759e |
|
29-Sep-2011 |
Eric Laurent <elaurent@google.com> |
audio HAL: different heaphone volume for Europe Added the possibility to set difference headphones volume to comply to European regulation. Set conservative gains for headphones and headset. Change-Id: I77af0325baca8d5d5a8ebbec2431918cf2bff3a0
/device/samsung/tuna/audio/audio_hw.c
|
903131df8dca69b91bbb34db07c8dd51ad0aeefe |
|
22-Sep-2011 |
Simon Wilson <simonwilson@google.com> |
audio: use-case gain adjustments - allow a 6dB higher volume for headphones without mics - increase voice call speaker volume by 6dB - increase voice call sub mic gain for toro by 2dB - turn off headset DAC when only earpiece is active Change-Id: I344b0fc5ec97a6c9ce14a7db7602a4700a2c765e
/device/samsung/tuna/audio/audio_hw.c
|
5173fd2d45d055221bdda88e517686f0d471346e |
|
28-Sep-2011 |
Simon Wilson <simonwilson@google.com> |
Revert "audio: defer ril acoustic call until after modem PCM is open" Now that the modem PCMs are never closed for route changes, we don't need to defer the call of set_incall_device() any more. This also fixes a bug where the acoustic property is not sent to the modem upon an output device change now that we don't close/open the modem PCMs for every route change. This reverts commit e1ba1b93ebcc5a6b499ad519d4dfd5bdf7bd7465. Change-Id: I63bc4e25a602d99cd335b7b2a1db4ece45df93e1
/device/samsung/tuna/audio/audio_hw.c
|
42859b81397d56dacb5d7d1bd696f6882a72410a |
|
22-Sep-2011 |
Simon Wilson <simonwilson@google.com> |
audio: don't tear down modem PCMs for route change Fixes bug 5278856 Change-Id: I25bdae020241c2388db298637d111fba1c3acecd
/device/samsung/tuna/audio/audio_hw.c
|
50dbfeeaa0fde6244a0b2f7a591753d0112cadca |
|
21-Sep-2011 |
Simon Wilson <simonwilson@google.com> |
audio: use right capture path for sub mic The sub mic is on the right capture path, so when the front end portion of the route is selected, the mic choice must be taken into account. Fixes the lack of sound in camcorder. Fixes bug 5350006 Change-Id: I347922af04a0114a8e269b9edea3eec260175f79
/device/samsung/tuna/audio/audio_hw.c
|
e8c16fe2c718c1e638ef52d7435957fc8ed0c0ae |
|
18-Sep-2011 |
Simon Wilson <simonwilson@google.com> |
audio: force initial non-speaker output for call When the phone is ringing the active output device is always the speaker, perhaps with a secondary output device such as headset. When we answer the call the active output device is still speaker, and set_mode() causes the modem PCM to be opened for this route. However, we never use the speaker as our initial audio route for call audio. This change forces speaker off when we set up the initial in-call state so we don't have to change it immediately when out_set_parameters() is called with a different route. This works for earpiece, headset and headphones. It doesn't help bluetooth because the SCO connection is only begun after the call is started. Change-Id: Ie9f411c61570749fc26ab2ffa18cd1477e68a7e6
/device/samsung/tuna/audio/audio_hw.c
|
fc51006f02e808d4d032486584c5ef2ca45dad4e |
|
16-Sep-2011 |
Simon Wilson <simonwilson@google.com> |
audio: route mono mics through both muxes Mono mics were previously only routed to a single channel on each mux. Route through both instead. Change-Id: Ie954a436ec24e377e6821b85b994ed5294a6c4d8
/device/samsung/tuna/audio/audio_hw.c
|
e9ab081e1632c323d36957e04a54f89359fed90e |
|
20-Sep-2011 |
Simon Wilson <simonwilson@google.com> |
Revert "audio: change mixer name for earpiece control" This reverts commit 6844413bd8fcc4139eb106a4bdf903aaf90598df.
/device/samsung/tuna/audio/audio_hw.c
|
1829c469d8ce1907500aeb654dfd2285260bdb96 |
|
17-Sep-2011 |
Eric Laurent <elaurent@google.com> |
audio: add support for HDMI ouput Add basic support of HDMI output during playback. Note that if multiple output devices are set, if HDMI is one of them, only HDMI will be used. Change-Id: I0a3ccdd6824a73553649e63b2d6ccde6aa99310e Signed-off-by: Chris Kelly <c-kelly@ti.com> Signed-off-by: Eric Laurent <elaurent@google.com>
/device/samsung/tuna/audio/audio_hw.c
|
e1ba1b93ebcc5a6b499ad519d4dfd5bdf7bd7465 |
|
16-Sep-2011 |
Simon Wilson <simonwilson@google.com> |
audio: defer ril acoustic call until after modem PCM is open Call ril_set_call_audio_path() after the modem PCMs are opened so that if it blocks, there will at least be call audio. Change-Id: Ibf4305150cf18cad83b88d57e3be4ac8399ae77f
/device/samsung/tuna/audio/audio_hw.c
|
6844413bd8fcc4139eb106a4bdf903aaf90598df |
|
14-Sep-2011 |
PankajJindal <pankajjindal@ti.com> |
audio: change mixer name for earpiece control In addition, stop turning on the headset DACs when only the earpiece is required. DO NOT MERGE Change-Id: Ie26e705520efece8cdb0dbc93bcd98411c804563 Signed-off-by: PankajJindal <pankajjindal@ti.com> Signed-off-by: Simon Wilson <simonwilson@google.com>
/device/samsung/tuna/audio/audio_hw.c
|
7ba2e368e9aa8d8a177ebdcceb1b331707dd7112 |
|
14-Sep-2011 |
Simon Wilson <simonwilson@google.com> |
audio: reduce sidetone volume by 6dB Cross-dependency on kernel change: I4b85eebf18e99b106816131bd927cf0962055dcd The earpiece volume has been increased by 6dB because of dynamic route gain adjustment, so the sidetone gain must be decreased by the same amount otherwise there is too much feedback and we are outside specification. Change-Id: I6b268105553ab68e9b0e9f18d41c018823d1e6cb
/device/samsung/tuna/audio/audio_hw.c
|
164274d50c1e1e7ed23f0a81e1fbdb5ec59aa35f |
|
13-Sep-2011 |
Simon Wilson <simonwilson@google.com> |
audio: don't clear output devices at standby The output devices in adev->devices are cleared sometimes when making a call. The sequence is as follows: 1. do_output_standby() (clears bits in adev->devices) 2. set_mode to IN_CALL state 3. select_output_device() reads the bits in adev->devices, but none are set. As a result, with no valid route, call audio fails. Fixes bug 5309421 Change-Id: I81efe325d8b482f7474750c08d353ca989da9939
/device/samsung/tuna/audio/audio_hw.c
|
41a1ead89c547003525468bfd4acb63a2dd8dbd2 |
|
12-Sep-2011 |
Eric Laurent <elaurent@google.com> |
Revert "Revert "audio : add to support bluetooth with NR & EC functionality"" This reverts commit 494a9150218d73774796c40bc101928034094082.
/device/samsung/tuna/audio/audio_hw.c
|
3437a82b11978eccc19cfa105ffbd8299b110e93 |
|
09-Sep-2011 |
Simon Wilson <simonwilson@google.com> |
audio: open modem/bluetooth in stereo Cross-dependency with kernel change: I65a3555569bf4698619130c80d5c391bb6bb9b46 Change-Id: Ibfd6a884626a21ad1a06572e3458cca1b31e3afc
/device/samsung/tuna/audio/audio_hw.c
|
494a9150218d73774796c40bc101928034094082 |
|
10-Sep-2011 |
Eric Laurent <elaurent@google.com> |
Revert "audio : add to support bluetooth with NR & EC functionality" This reverts commit b48dbbdeab6f28cf99dc25da67e696ac1399c659.
/device/samsung/tuna/audio/audio_hw.c
|
4283faf7b4197ebb8af65e5b5b716804ff17899a |
|
09-Sep-2011 |
Simon Wilson <simonwilson@google.com> |
audio: ensure the correct MUX is set for BT uplink Support for PORT_VX as an input capture device was not completely removed and the bluetooth uplink was still incorrectly using the VX MUX. PORT_VX support has been completely removed and bluetooth now uses the correct MUX for uplink. Fixes bug 5279972 Change-Id: I8664abf7cff61f894f447dc7a3c49241dce4087b
/device/samsung/tuna/audio/audio_hw.c
|
df84bfdd5f778122a8154a9de015911b75a4250c |
|
08-Sep-2011 |
Simon Wilson <simonwilson@google.com> |
audio: don't put output in standby when changing route The OMAP4 ALSA kernel code can now handle output routing changes when the PCM is opened. This avoids pops when closing PCMs to change the route between speaker and headset for example, and makes a noticeable difference when notifications occur when playing music. Change-Id: I957d96fae6764a3049d4f3c00074a9295a18d66d
/device/samsung/tuna/audio/audio_hw.c
|
b48dbbdeab6f28cf99dc25da67e696ac1399c659 |
|
27-Aug-2011 |
UK KIM <w0806.kim@samsung.com> |
audio : add to support bluetooth with NR & EC functionality EC & NR function can be duplicated in modem and bluetooth device. If BT device want to use own function, modem has to turn off own functions. This can be related with clicking sound and sound quality in some case of somde bluetooth device or modem's configuration. Change-Id: Ifebc824e04afc06cd861a67138a1e06ce3f462f1
/device/samsung/tuna/audio/audio_hw.c
|
c95b443e4138bd00b67e8e40b2448d44929a7e0e |
|
08-Sep-2011 |
Simon Wilson <simonwilson@google.com> |
audio: add logging to track call state Change-Id: Ic055b9680623ad9d9ad1d8edfbc9bafceab4c43a
/device/samsung/tuna/audio/audio_hw.c
|
e967f722c9c0fd251518093d6e0c99b26e81c161 |
|
08-Sep-2011 |
Jean-Michel Trivi <jmtrivi@google.com> |
Calibrate voice recognition recording levels Calibrate the input levels for voice recognition on the main microphone (bottom mic) and headset inputs to the value expected in this use case. Change-Id: I6c0743bb9ae4c00194a8baeed43f523918a1a10e
/device/samsung/tuna/audio/audio_hw.c
|
41f2d8f07b1f698ed5f5b49dd287b14394da3231 |
|
07-Sep-2011 |
Simon Wilson <simonwilson@google.com> |
audio: enable 450Hz high-pass filter for speaker This filters out frequencies that can damage the speaker. Change-Id: I35946c9ee3e80be673643ef40129e7e5214a0d8b
/device/samsung/tuna/audio/audio_hw.c
|
79095f915b7e9a902424c11c18d270be43f7194b |
|
06-Sep-2011 |
Simon Wilson <simonwilson@google.com> |
audio: always use PORT_MM2_UL for capture PORT_VX and PORT_MM2_UL cannot be opened at the same time, and doing so causes loss of audio. When a voice call is taken when a video call is in progress, the modem is opened before the capture stream is ended so the problem occurs. Using PORT_MM2_UL ensures we don't hit this case. Fixes bug 5221406 Change-Id: Id6aa26e5321e74375a51b455aa55723df2287c35
/device/samsung/tuna/audio/audio_hw.c
|
023d8051906e49f7c339f7fdfb97adad250cd687 |
|
23-Aug-2011 |
Eric Laurent <elaurent@google.com> |
audio HAL: add audio pre processing. Added support for audio pre processing and echo reference for AEC. Also: - added defines for ABE ports sampling rates - always select sub mic for camcorder and VoIP on speakerphone even if headset with mic is present - change mutex locking order: first hw device then stream. This allows calling functions on active output and input streams without releasing the hw device mutex. Aquiring the hw device mutex systematically in dtream read and write guarantees that a low priority thread waiting on the stream mutex will get it in a timely manner. Change-Id: I4abc9e56b30e7b72109db1961af76c6fd4c03be0
/device/samsung/tuna/audio/audio_hw.c
|
aa711b0ec02b45bd182af8639b23f5959b2897fe |
|
02-Sep-2011 |
Simon Wilson <simonwilson@google.com> |
audio: specify analog volumes in dB This change applies conversions so that analog codec volumes can be specified in dB. It also restores the DL2 ABE gain to 0dB now that the ABE kernel code has been patched to prevent speaker distortion. The headset and speaker volumes are adjusted to take this change into account. Change-Id: I5cfe465e30e0c6a2424bd05e4a412eae8d878eba
/device/samsung/tuna/audio/audio_hw.c
|
512503b9ff7cf8011f761b989d801ebc605edcb5 |
|
31-Aug-2011 |
Simon Wilson <simonwilson@google.com> |
audio: enable sidetone for toro device when using earpiece Change-Id: I4ea7f3795ba571fdd395f3fff4cd3e485d0e89a8
/device/samsung/tuna/audio/audio_hw.c
|
95c34789fdaa431c0a789bbbfe3c6fd1e56efee1 |
|
02-Sep-2011 |
Simon Wilson <simonwilson@google.com> |
Revert "audio: change pcm_config_vx channel from 1 to 2" This change causes bluetooth SCO audio during a call to be unreliable: often there is no call audio. Reverting this causes the downlink (bluetooth earpiece) audio to sound robotic, but the audio is more reliable. This reverts commit 3772f57d8332e7b2113bd35cd297b8fe00d20d15.
/device/samsung/tuna/audio/audio_hw.c
|
03d3caaf87e8e84c0b6c057b0cd7fbd9b2631962 |
|
27-Aug-2011 |
Simon Wilson <simonwilson@google.com> |
audio: turn off output stages when not in use The DAC widgets are turned off when not in use in order to save power. They must not be turned off when the output goes into standby if a call is in progress. Change-Id: I3d294a85a86e45c8acc257a8d92b92d7d9b2d4c3
/device/samsung/tuna/audio/audio_hw.c
|
0b70d02f01f9426edc7f4a73291c13587fbd064e |
|
27-Aug-2011 |
Simon Wilson <simonwilson@google.com> |
audio: check for active_input != NULL before following Fixes bug 5223164 Change-Id: I95557589b6d17df96de4235e8003157c6324917a
/device/samsung/tuna/audio/audio_hw.c
|
fa3998cc9b7cd2bc45f4aa72be5ed4eb4e2b4ea4 |
|
20-Aug-2011 |
Eric Laurent <elaurent@google.com> |
audio HAL: use resampler from libaudioutils. Use resampler from libaudioutils instead of speex resampler directly. This change prepares integration of audio pre processing. Change-Id: Id985f7e46284fa038f16ecccaaa002b75e375a0f
/device/samsung/tuna/audio/audio_hw.c
|
2b45e730d1fa9a507abb3e02edfd3cd1cd85b1fc |
|
23-Aug-2011 |
Simon Wilson <simonwilson@google.com> |
audio: set input volume based on use-case - Input volume is set based on capture, voip or voice call modes Change-Id: I8be69b6ac7a9c34aa27acbf69c42418256e2158d
/device/samsung/tuna/audio/audio_hw.c
|
3772f57d8332e7b2113bd35cd297b8fe00d20d15 |
|
18-Aug-2011 |
Lee Min <min47.lee@samsung.com> |
audio: change pcm_config_vx channel from 1 to 2 Actually, modem and bluetooth devices in tuna use I2S mode. If channel is setted 1, McBSP is setted PCM mode. On the other hand, if channel is setted 2, McBSP is setted I2S mode. To use I2S mode, We have to change channel from 1 to 2. Change-Id: I0c56ffd03805060783c428b4c70094103480bb4f Signed-off-by: Lee Min <min47.lee@samsung.com>
/device/samsung/tuna/audio/audio_hw.c
|
1291f3098a1527e9b563a1ad40455c1ef1ecdf15 |
|
25-Aug-2011 |
Simon Wilson <simonwilson@google.com> |
audio: reduce DL2 ABE gain to reduce handsfree distortion Also increase the codec volume to compensate. Change-Id: I34bd16141d70cd154df23ff815800bbace887e88
/device/samsung/tuna/audio/audio_hw.c
|
26038b858afd7fa82d983159b49a5c60f4630050 |
|
13-Jul-2011 |
UK KIM <w0806.kim@samsung.com> |
audio: change time and method to change clock and audio path 1. clock sync: after AP (mcbsp2) is enabled 2. audio path: according to AP's output device Change-Id: I5e0214bea31a722ce43fe92fb1d54bffb291cae9
/device/samsung/tuna/audio/audio_hw.c
|
46650400dd01713441bae775aae54e4fd4950ab9 |
|
19-Aug-2011 |
Simon Wilson <simonwilson@google.com> |
audio: reduce headset volume The headset volume needs to be reduced for two reasons: 1. Loud volumes trigger headset detection interrupts. 2. The current volume can damage hearing even on low sensitivity and high impedance headphones. Change-Id: I639bc8bc1505b6d2f22a8f5581c16583a721770c
/device/samsung/tuna/audio/audio_hw.c
|
8bbd2d2b578915912bbb97091ffda8a2ad629128 |
|
07-Aug-2011 |
Eric Laurent <elaurent@google.com> |
audio HAL: added support for TTY feature. Change-Id: Ia38d9bea3c9abcd1ea505e7302382cb9f6b016c2
/device/samsung/tuna/audio/audio_hw.c
|
8f35a34b4d9ad7d752e83ef44a741106ac70a008 |
|
04-Aug-2011 |
Eric Laurent <elaurent@google.com> |
audio HAL: implement microphone mute. This fixes issue 5099308: AudioManager.isMicrophoneMute() always returns true on Prime. Change-Id: I7edf7aade2f46725e1fa9685744f21d63a4529a6
/device/samsung/tuna/audio/audio_hw.c
|
f2f0dcc7058f6f074dc23de5cf5375de0c2ca596 |
|
09-Aug-2011 |
Simon Wilson <simonwilson@google.com> |
audio: route to sub mic for audio capture Change-Id: I5b3ef5b111bb4b50fd6d2100f0ed34f47f85cbe3
/device/samsung/tuna/audio/audio_hw.c
|
a25c2e62c0659e9348561da047494d26c37f8dc2 |
|
09-Aug-2011 |
Simon Wilson <simonwilson@google.com> |
audio: fix mic path when headphones are used Fixes bug 5118167 - when headphones without a mic are connected, use the main microphone during a voice call. Change-Id: I846d923d71e88e65adf43001ab13a4d1927a696d
/device/samsung/tuna/audio/audio_hw.c
|
975e915dae0414e54decaa9f1fe3786ee5fbd87d |
|
09-Aug-2011 |
Simon Wilson <simonwilson@google.com> |
audio: use sub mic for handsfree voice calls Using the sub mic is necessary to avoid echo due to the physical placement of the main mic. Change-Id: I716db818ec439d812f162b3f4170195c98c51539
/device/samsung/tuna/audio/audio_hw.c
|
e522d0eeea3c764e35b6a2440de7051bda953b16 |
|
03-Aug-2011 |
Simon Wilson <simonwilson@google.com> |
audio: use 0dB gain for all mixers A mixer gain of 118 (-2dB) was used to avoid noise caused by saturation in the ABE. However, this has been fixed with ABE firmware 9.46, so these gains can be restored to 0dB for maximum dynamic range. Change-Id: Id6a6ae5faeac8673faad3444d5e46e6469d5bd2d
/device/samsung/tuna/audio/audio_hw.c
|
4274dd4a475e98a8a2c04043481965ac4ea53c81 |
|
02-Aug-2011 |
Simon Wilson <simonwilson@google.com> |
audio: rename earpiece enable control name In the latest ASoC kernel code, the earpiece enable control name has been renamed. Make the corresponding change in the HAL and print an error if all controls are not found to aid debugging. Change-Id: Idc56c383ab9d7b45afad4f54c02237cc4d0db236
/device/samsung/tuna/audio/audio_hw.c
|
9ce8ae7e68be18cee9b74bbb5102a142f02f46da |
|
19-Jul-2011 |
Chris Kelly <c-kelly@ti.com> |
audio: add input routing support input routing supports switching between MM_UL2/VX_UL supported capture paths main mic, sub mic, headset mic and BT. If in call, the input is selected based on the current ouput device. This also manages the selected device per stream. Sub-mic capture path not tested. Change-Id: Ic6da0ef56cfa073b6383fcc389c5ad01a39a7c48 Signed-off-by: Chris Kelly <c-kelly@ti.com>
/device/samsung/tuna/audio/audio_hw.c
|
067d752fd7f7dfaa73dadf3bb9e2f76cf8ff1b1e |
|
30-Jul-2011 |
Chris Kelly <c-kelly@ti.com> |
audio: correct output set parameters Change-Id: I90c957ce7436b52d2aa4339b21d91921e9e612ad Signed-off-by: Chris Kelly <c-kelly@ti.com>
/device/samsung/tuna/audio/audio_hw.c
|
046e31e67ed01632e94b095982d3b133b68bb05f |
|
27-Jul-2011 |
Simon Wilson <simonwilson@google.com> |
audio: use per-device maximum RIL volume The maguro and toro devices have different radios, each supporting a different maximum volume. Determine the maximum volume for the device from the ro.config.vc_call_vol_steps property and use that to calculate the volume to send to the RIL. Change-Id: I02921ed41ddbae90f8d3a149c05d37d3e87deab0
/device/samsung/tuna/audio/audio_hw.c
|
d974bd3937a1115473c89b1f084a12a4ecf3f988 |
|
26-Jul-2011 |
Simon Wilson <simonwilson@google.com> |
audio: add missing locks The device lock must be held when using the mixer because mixer_* calls are not thread safe. This fixes a bug where some mixer controls including the earpiece volume were not being set at boot. Bug: 5073076 Change-Id: Ide060ccad49e7276b7555428d2ff3ab399a5ce40
/device/samsung/tuna/audio/audio_hw.c
|
04b38f91ee08c518d61f02fdf6704e0a654e0eec |
|
23-Jul-2011 |
Simon Wilson <simonwilson@google.com> |
Revert "audio: disable output stage when going into standby" The audio output is put into standby during a call so this causes the earpiece and other output routes not to function in that state. Reverting until a better fix is ready. This reverts commit b1695f85e6d4a0baaf8bd3d190d02fe20d537824.
/device/samsung/tuna/audio/audio_hw.c
|
3c930971e24b7b186a54c1e0b1abfc40875f7ccb |
|
15-Jul-2011 |
Eric Laurent <elaurent@google.com> |
audio HAL: added resampler on input stream Now supports capture at 8000, 11025, 16000, 22050, 24000, 32000, 44100 and 48000 Hz. Change-Id: I61526e94b8f0d315a1bf8d7587363a44c7d643ae
/device/samsung/tuna/audio/audio_hw.c
|
b1695f85e6d4a0baaf8bd3d190d02fe20d537824 |
|
21-Jul-2011 |
Simon Wilson <simonwilson@google.com> |
audio: disable output stage when going into standby This should eliminate random clicks and pops heard when audio enters standby since the output stage is disabled before closing the PCM. In addition, this should provide a power savings in standby. Change-Id: Ief0a193e0b31e9ee2f03a58641eaebd2a0d344cb
/device/samsung/tuna/audio/audio_hw.c
|
50765d29f6fa3981fda293b91bbcaae0c2366521 |
|
14-Jul-2011 |
Chris Kelly <c-kelly@ti.com> |
audio: reorganize route paths and add BT DL path To better support multiple paths and prepare for input routing, the mixer controls were reorganized into front end and back end paths for the supported routes. BT-SCO downlink was also added. This allows more flexibiity in setting controls but does sacrifice some amunt of abstraction of the underliying ABE design. Change-Id: Ie225ae5bf90b1727178093a5f06636e6b17a737b Signed-off-by: Chris Kelly <c-kelly@ti.com>
/device/samsung/tuna/audio/audio_hw.c
|
5b707b23a9facffcb57de499809444cfe945857f |
|
19-Jul-2011 |
Chris Kelly <c-kelly@ti.com> |
audio: correct low power port id Change-Id: I48ffc54219360fbb5f22c695dea63ca269e6fb68 Signed-off-by: Chris Kelly <c-kelly@ti.com>
/device/samsung/tuna/audio/audio_hw.c
|
8c1bc179b40c6ba09d2e174f3d76a518269f49dc |
|
13-Jul-2011 |
UK KIM <w0806.kim@samsung.com> |
audio: set in-call volume when user starts call The RIL needs to have its voice volume reset every time a call is made, not every time the volume is changed from the upper layer. Change-Id: Id042da241de65f9dfb8d5c52e1b4bb910c7c0219
/device/samsung/tuna/audio/audio_hw.c
|
c2a69f502944444c9b17f3c00c413091dbcc5c75 |
|
19-Jul-2011 |
Kim Uk <w0806.kim@samsung.com> |
audio: check for ril presence before calling into it This prevents a seg fault if no ril is present. Change-Id: I5f9443e31bdcab07df21d9f12ed2dd92807300f8
/device/samsung/tuna/audio/audio_hw.c
|
2006f1c32bbc3a55bc8c598ce8484c9b5673b011 |
|
19-Jul-2011 |
Eric Laurent <elaurent@google.com> |
Fix issue 5048624: Native crash in video chat. The problem is that the audio HAL returns a NULL string when get_parameters() is called from AudioFlinger. It should return return an empty string. Change-Id: I99365b54eb5f3c3b6694cb3e122842dff1799bfd
/device/samsung/tuna/audio/audio_hw.c
|
7f380a67fa71f0a0a4eefe8c33b375e16505af06 |
|
18-Jul-2011 |
Simon Wilson <simonwilson@google.com> |
audio: reselect output device when changing mode It's necessary to reselect the output device when changing from the AUDIO_MODE_IN_CALL state to AUDIO_MODE_NORMAL, otherwise the ASoC driver cannot find a route from the PCM to the endpoint. This is possibly a workaround for a bug in the ASoC driver. Also, this change means the audio HAL will no longer disable the multimedia mixer routes when in a call. This is because audio can be played during a call. Change-Id: I58c4b23289f8d6f9ad53b436215ec9a5d48f4fe1
/device/samsung/tuna/audio/audio_hw.c
|
df6ed25f9d1d8f54cb6869375df42246f6a8d35e |
|
15-Jul-2011 |
Eric Laurent <elaurent@google.com> |
audio: use MM_UL2 port for 48kHz audio capture Change-Id: I0b45cbe4b1007c621c1c61491f94b7e3355eeb64
/device/samsung/tuna/audio/audio_hw.c
|
371599a2cf7fedc6c8948f97b03641b15d040d7c |
|
09-Jul-2011 |
Eric Laurent <elaurent@google.com> |
audio: fix latency and buffer size calculation out_get_buffer_size() was returning the total buffer size in frames instead of the period size in bytes. It should also take the resampling into account so that the audio flinger buffer duration somehow matches the period duration. The calculation in out_get_latency() was assuming the period size in the pcm config structure is in bytes whereas it is in frames. Change-Id: I2025a89e753355bd321865faa726013e0a97912f
/device/samsung/tuna/audio/audio_hw.c
|
e18d87de3734f198875306a6033d9f6a006980bc |
|
13-Jul-2011 |
Simon Wilson <simonwilson@google.com> |
audio: add support for multiple output devices Change-Id: I3cc1d6bd414301e82002153c08fa530c31527e48
/device/samsung/tuna/audio/audio_hw.c
|
233c249b7be2e836f17155523e2779dbbff6529c |
|
12-Jul-2011 |
Simon Wilson <simonwilson@google.com> |
audio: put pcm into standby before changing output device This avoids the high-pitched whine when changing the route from speaker to headset by ensuring that no bytes are being transferred through the ABE while the route is altered. It also means the workaround to avoid the kernel panic when exiting standby in out_write() can be removed. Change-Id: I67d391d003bd90892622a212b45a394e2d15ff70
/device/samsung/tuna/audio/audio_hw.c
|
27fda17c9a8c6eea21ac650d567de835e47d8ab3 |
|
11-Jul-2011 |
Eric Laurent <elaurent@google.com> |
Audio HAL: added interface for audio preprocessing Change-Id: Ic784c7fa0e82f6ef398548741b603b55d902ae5c
/device/samsung/tuna/audio/audio_hw.c
|
9700b23c8835c501799223acd0e0d1cd6577c139 |
|
10-Jul-2011 |
Simon Wilson <simonwilson@google.com> |
audio: output standby support Change-Id: I34894e039311e82feda05b0ac58b93518072244c
/device/samsung/tuna/audio/audio_hw.c
|
1bf73171e4c912344e942717d85c69cef4e3e092 |
|
28-Jun-2011 |
Simon Wilson <simonwilson@google.com> |
audio: capture support - Enable start and standby of input stream - Not tested sample rates other than 8/16 - Capture causes a kernel panic if a sound is not played first Change-Id: I44ec338c7fb77c43b12f4d0ee19b9f12c7cc4ad6
/device/samsung/tuna/audio/audio_hw.c
|
15335ee07c43739433b4cf566428b5f07f8c443d |
|
29-Jun-2011 |
Jean-Michel Trivi <jmtrivi@google.com> |
Fix audio output to play audio other than 44k stereo When opening an output stream, the driver needs to return its format, sample rate and channel mask. Failure to do so will cause AudioFlinger to create the ouput as DIRECT, regardless of the output flags. The consequence of the output thread being in DIRECT mode is that no mixing is done (one sound at a time), and only audio that plays at the HAL's expected audio characteristics (44k 16bit stereo) can be played. The fix consists in returning the format, chanel mask and sample rate values when opening the output stream. Change-Id: Ib26e3337fe199efdba7a70b40df93518aceec04a
/device/samsung/tuna/audio/audio_hw.c
|
6e621948bb44b28dc0c1bd966b6e94e7a543a1a5 |
|
28-Jun-2011 |
Simon Wilson <simonwilson@google.com> |
audio: workaround ABE microphone disable problem The analog microphone uplink stops working if any downlink route is changed when the modem PCMs are open, so as a workaround, only modify the earpiece route when the modem PCMs are closed. Change-Id: Ib725a28da5130546015a9e05da4fca4955ce90bd
/device/samsung/tuna/audio/audio_hw.c
|
9bf507ff6f1efc70fb87d9eef6afaf152d766582 |
|
28-Jun-2011 |
Simon Wilson <simonwilson@google.com> |
audio: add headset output device Change-Id: I0f5cb58d0f1fc0372f459a6fb55f30683da414d9
/device/samsung/tuna/audio/audio_hw.c
|
30f7fe2ffa7f6b5db1610e8d8f37d2c36a8c43b0 |
|
25-Jun-2011 |
Simon Wilson <simonwilson@google.com> |
audio: improve audio routing in voice call With this change, the microphone now works during a voicecall. The handsfree (speaker) route also works but it currently uses the main mic instead of the sub mic. Change-Id: I37aaaefc523b5a6ebc88058c58ccb5443428e3fa
/device/samsung/tuna/audio/audio_hw.c
|
1ff6591ccffac61e070243b30c9862e5e756fb22 |
|
21-Jun-2011 |
Simon Wilson <simonwilson@google.com> |
audio: voice call support - Also ensured that PRODUCT_PACKAGES is set so that the HAL is copied into the filesystem. Change-Id: I89790e5aec1d6beb7d4650316ec070503a35c436
/device/samsung/tuna/audio/audio_hw.c
|
4a97258d9a03ea6a6ea24d3cdef553b70c7068e5 |
|
09-Jun-2011 |
Simon Wilson <simonwilson@google.com> |
Enable audio support - PCM output works via music player - Sometimes ringtones fail to play - Modem routing is untested but present - PCM input needs to be implemented Change-Id: Ib58bef9674e1c9bb896be521c3d95c4e07e0442b
/device/samsung/tuna/audio/audio_hw.c
|