39c0d4c031d479a679900cb540253f42747cb810 |
|
11-Nov-2010 |
Jean-Michel Trivi <jmtrivi@google.com> |
do not merge bug 3370834 Cherrypick from master CL 79327 Use input source to determine whether voice reco mode is enabled. Change-Id: I1efe64904b19575b590ce4b83f44d18b7d064f6b
/hardware/msm7k/libaudio-qsd8k/AudioHardware.cpp
|
e784e44a0402aa4e9489e0b9f2f3d3685cf76a93 |
|
19-Nov-2010 |
Eric Laurent <elaurent@google.com> |
Fix issue 3158317. Do not open the input device when opening the input stream but only when the input stream starts. This avoids blocking the thread executing openInputStream() on the pcm input driver mutex while this mutex is constantly acquired and released by the high priority audio input thread. It also allows an app to open an input stream while another thread is recording if it does not use it immediately (useful for voice search and VoIP). Also did some clean up in output and input stream standby logic. Change-Id: I69c82f5833f7a034d828001f87e02745d7683b65
/hardware/msm7k/libaudio-qsd8k/AudioHardware.cpp
|
637d2d047afc8033f91357725474b32b74173c65 |
|
19-Oct-2010 |
Joe Onorato <joeo@google.com> |
Reduce logging. Remember, the system and main logs are - Shared resources - Primarily for recording problems - To be used only for large grained events during normal operation Bug: 3104855 Change-Id: I1abde2ae74119ce8ffa69c8b6e8ff278c2c8029e
/hardware/msm7k/libaudio-qsd8k/AudioHardware.cpp
|
b508a4857b07898fb8322a858c4ee9624bcf1180 |
|
14-Oct-2010 |
Iliyan Malchev <malchev@google.com> |
libaudio-qsd8k: acquire wakelock before starting playback This fixes issue 2410711. Change-Id: I01161b3febc02914f2c7a9ed3c4c9ae121ce181a Signed-off-by: Iliyan Malchev <malchev@google.com>
/hardware/msm7k/libaudio-qsd8k/AudioHardware.cpp
|
a526b0683dba50dac8a37ed45e3a08536044e973 |
|
07-Aug-2010 |
Jean-Michel Trivi <jmtrivi@google.com> |
Patch from HTC: fix improper device ID selection for BT with noise suppression off. This patch is accompanied by updated ACDB files that define the matching acoustic configuration. Change-Id: I8cf769c30993e36c4dc07b8df8d234e752d26ffb
/hardware/msm7k/libaudio-qsd8k/AudioHardware.cpp
|
8dd179b07f00e35208dd4cf48e14264717e8d5a0 |
|
19-Mar-2010 |
Jean-Baptiste Queru <jbq@google.com> |
Add tags and notices where appropriate. Also tweak copyright notices as appropriate. Bug: 2084753 Change-Id: Ifbf795b8b16dbc45cf5ac9a72b97f2b74cbf3550
/hardware/msm7k/libaudio-qsd8k/AudioHardware.cpp
|
2176dbc34c87e6855a912920f6868f8d211d12b4 |
|
04-Feb-2010 |
Eric Laurent <elaurent@google.com> |
Fix issue 2416481: Support Voice Dialer over BT SCO. Hold a wake lock also when an input stream is active (not only for output stream). Apply Audience a1026 configuration also when output routing selects a bluetooth device. Allow acdb settings for bluettoth devices if not incall. Change-Id: Ibaa24ecf44af2e00f24664c7be9e1b9813861ce4
/hardware/msm7k/libaudio-qsd8k/AudioHardware.cpp
|
8dc5375b4d5131e3b1f77874e87fff4cf18f2e4f |
|
02-Mar-2010 |
Eric Laurent <elaurent@google.com> |
Fix issue 2473820: The ACDB ID used for audio playback is not correct after MT call. The problem comes from a mismatch between the audio policy manager and the audio HAL behavior. AudioHardware design requires that the audio routing is reapplied every time we enter or exit in call mode to force audio paths and acoustics settings update. This is done by audio policy manager forcing a route change in this case. It is also necessary that AudioHardware does not ignore this change request and to this purpose current snd device stored in mCurSndDevice is cleared by setMode() so that next call to doRouting() actually reapplies the device selection. The problem is that setMode() clears mCurSndDevice unconditionnaly which makes that if we enter ringtone mode but go back to normal mode (rejected call), audio policy manager will not reapply current device and we will remain in a state where mCurSndDevice is undefined. This state will persist until a new device selection is performed. The fix consists in clearing mCurSndDevice only if transitioning to/from in call mode.
/hardware/msm7k/libaudio-qsd8k/AudioHardware.cpp
|
8df2a289f6df85942b26730ad5f714fe513d4fda |
|
02-Mar-2010 |
Eric Laurent <elaurent@google.com> |
am baaae4da: am 1e6baec5: Fix issue 2473815: The ACDB ID used for Bluetooth TX is not set correctly for MT call. Merge commit 'baaae4da4d6005b96c106d7eda4e577b903286a9' * commit 'baaae4da4d6005b96c106d7eda4e577b903286a9': Fix issue 2473815: The ACDB ID used for Bluetooth TX is not set correctly for MT call.
|
1e6baec54e051e7359aca7521d0919c6a6a91172 |
|
02-Mar-2010 |
Eric Laurent <elaurent@google.com> |
Fix issue 2473815: The ACDB ID used for Bluetooth TX is not set correctly for MT call. The problem occurs if the BT SCO socket is established before the call is answered. In this case, the first device selected when entering in call state is the BT device but current implementation of do_route_audio_dev_ctrl() does not apply ACDB settings when calling AUDIO_START_VOICE except for HAC device. If the SCO socket is established after we enter in call mode, we receive a new routing request after AUDIO_START_VOICE has been executed and in this case the new ACDB settings are applied. The fix consists in applying ACDB settings when calling AUDIO_START_VOICE regardless of the device used.
/hardware/msm7k/libaudio-qsd8k/AudioHardware.cpp
|
3f9e8f93918516b0591743d79b9bfef5045a18e2 |
|
22-Feb-2010 |
Eric Laurent <elaurent@google.com> |
am 3df4850c: am b26d493d: Fix issue 2459650. Merge commit '3df4850c0bc7c1c4591ac594b3c1540c2edd93a8' * commit '3df4850c0bc7c1c4591ac594b3c1540c2edd93a8': Fix issue 2459650.
|
b26d493deaa9897cc6f34577aa5c9c1ff0655129 |
|
22-Feb-2010 |
Eric Laurent <elaurent@google.com> |
Fix issue 2459650. Modify input path for TTY VCO device from TTY_HEADSET_MIC to SPKR_PHONE_MIC. Submitted on behalf of HK chen <HK_Chen@htc.com>
/hardware/msm7k/libaudio-qsd8k/AudioHardware.cpp
|
fe306807b0fe36243d9e7eca094d5e20a0667016 |
|
11-Feb-2010 |
Jean-Michel Trivi <jmtrivi@google.com> |
Only close the file descriptor for A1026 control after it was successfully opened.
/hardware/msm7k/libaudio-qsd8k/AudioHardware.cpp
|
758533050adf90efe8b2dc25c941ac46571d076a |
|
10-Feb-2010 |
Eric Laurent <elaurent@google.com> |
am e93aca53: am 6727fbd4: Additional corrections for AudioHardware: Merge commit 'e93aca535c64c9be9564e218fb83b6bbd1b99975' * commit 'e93aca535c64c9be9564e218fb83b6bbd1b99975': Additional corrections for AudioHardware:
|
6727fbd4be7d7cd0acfb55b7461f9d9a23225f60 |
|
10-Feb-2010 |
Eric Laurent <elaurent@google.com> |
Additional corrections for AudioHardware: - Fix error in getACDB() when reading battery temperature: Return value of get_batt_temp() has changed and calling code must be corrected. - Fix handling of echo cancellation and noise reduction for car kits: doAudioRouteOrMute() should not force SND_DEVICE_BT_EC_OFF sound device if current device is SND_DEVICE_CARKIT. Submitted on behalf of HK Chen <HK_Chen@htc.com>
/hardware/msm7k/libaudio-qsd8k/AudioHardware.cpp
|
c21aee95933fca91c59b2036f846dffa6641eab5 |
|
09-Feb-2010 |
Eric Laurent <elaurent@google.com> |
am 2be1045f: am 6af540e6: Fix issue 2422322 again. Merge commit '2be1045fd92ee1998a90f49ce3d335dfc5d95289' * commit '2be1045fd92ee1998a90f49ce3d335dfc5d95289': Fix issue 2422322 again.
|
6af540e6c360750623644c6b25e3d97590990694 |
|
09-Feb-2010 |
Eric Laurent <elaurent@google.com> |
Fix issue 2422322 again. Correct merge error in previous commit ec78ad65a1110fe007c3bdaba824f66bbfe522e3: all changes sent by HTC were not included.
/hardware/msm7k/libaudio-qsd8k/AudioHardware.cpp
|
a7e3a1082996d4f0464fba3b852b8bba52a764e5 |
|
09-Feb-2010 |
Iliyan Malchev <malchev@google.com> |
am 833d7fb8: am e7af7ee4: libaudio-qsd8k: enable separate in-call TTY settings Merge commit '833d7fb8e415a0908228b9d05c6221b96c601d6c' * commit '833d7fb8e415a0908228b9d05c6221b96c601d6c': libaudio-qsd8k: enable separate in-call TTY settings
|
d666d60c2b157bee1aaf2233c253778929bd7d49 |
|
08-Feb-2010 |
Jean-Michel Trivi <jmtrivi@google.com> |
Fix A1026 configuration bugs - in doAudience_A1026_Control(): if setting a new path ID on the A1026 has failed several times, the A1026 will be reset by a call to doA1026_init(). However after a reset, the file descriptor for the A1026 configuration will be invalid (-1), so the device needs to be reopened for the configuration to be successfully reapplied after a reset. - in setParameters(): after setting the noise suppression param, the A1026 file descriptor is closed, and needs to be reset to a negative value, as this is used in other places in the code to indicate it's closed.
/hardware/msm7k/libaudio-qsd8k/AudioHardware.cpp
|
f2236a59c89b93062490d2c236ffebe57173af6e |
|
29-Jan-2010 |
Eric Laurent <elaurent@google.com> |
Fix issue 2276684 Kernel audio driver should fully support AUDIO_SET_CONFIG. This change is the user space half of the modification allowing to adapt the input and output buffer size to the sampling rate. This allows for similar latencies for all sampling rates with a buffer duration of around 20ms.
/hardware/msm7k/libaudio-qsd8k/AudioHardware.cpp
|
e7af7ee40e27869a0cbbe4a5c91cbe6719fdfd44 |
|
09-Feb-2010 |
Iliyan Malchev <malchev@google.com> |
libaudio-qsd8k: enable separate in-call TTY settings Signed-off-by: Iliyan Malchev <malchev@google.com>
/hardware/msm7k/libaudio-qsd8k/AudioHardware.cpp
|
bad26a952ee022a16c79790fb71603cde0f81326 |
|
06-Feb-2010 |
Eric Laurent <elaurent@google.com> |
am c3e56b57: am ec78ad65: Partial fix 2422322: [Passion#VZW] audio issues found with release CL24761. Merge commit 'c3e56b578fea50f956253bbede16157e53392859' * commit 'c3e56b578fea50f956253bbede16157e53392859': Partial fix 2422322: [Passion#VZW] audio issues found with release CL24761.
|
9c009d66283e47b014f26951ad869f3d48ae9bfd |
|
06-Feb-2010 |
Eric Laurent <elaurent@google.com> |
am f3fcb795: am 04b67c8c: Merge "Fix issue 2418435: Device is rebooted after pairing with A2DP/Bluetooth and made a call to other phone." into eclair Merge commit 'f3fcb7952818bddefda84b49f0ec5a550effffcf' * commit 'f3fcb7952818bddefda84b49f0ec5a550effffcf': Fix issue 2418435: Device is rebooted after pairing with A2DP/Bluetooth and made a call to other phone.
|
ec78ad65a1110fe007c3bdaba824f66bbfe522e3 |
|
05-Feb-2010 |
Eric Laurent <elaurent@google.com> |
Partial fix 2422322: [Passion#VZW] audio issues found with release CL24761. This Change fixes issues 1 and 2.1 reported by HTC. Submitted on behalf of HK Chen <HK_Chen@htc.com>
/hardware/msm7k/libaudio-qsd8k/AudioHardware.cpp
|
c9bee51bef9f5376838aa90e8c9c53f47265e54c |
|
05-Feb-2010 |
Eric Laurent <elaurent@google.com> |
Fix issue 2418435: Device is rebooted after pairing with A2DP/Bluetooth and made a call to other phone. This change removes the temporary fix for this issue. The actual fix is in vendor/htc/passion/AudioBTID.csv.
/hardware/msm7k/libaudio-qsd8k/AudioHardware.cpp
|
4bbce2eacc25b700bbe0f353f84eeac786c721ca |
|
05-Feb-2010 |
Eric Laurent <elaurent@google.com> |
am e7e14f01: am 2d319172: Temporary patch for issue 2419260. Merge commit 'e7e14f014274b7c3e921bfe9a35804b4ed7b5eed' * commit 'e7e14f014274b7c3e921bfe9a35804b4ed7b5eed': Temporary patch for issue 2419260.
|
c08cbb26e57c8c3521391947e676cbdb6e81603b |
|
05-Feb-2010 |
Eric Laurent <elaurent@google.com> |
resolved conflicts for merge of a9642a5c to master
|
2d319172300af10e139818ea367c4afc14c616f5 |
|
04-Feb-2010 |
Eric Laurent <elaurent@google.com> |
Temporary patch for issue 2419260. Comment out code that causes kernel crash reported in issue 2419260 until HTC provides a real fix.
/hardware/msm7k/libaudio-qsd8k/AudioHardware.cpp
|
710f4558c4f660e59551b1ed13c5106f9e460a59 |
|
04-Feb-2010 |
Eric Laurent <elaurent@google.com> |
Fix merge error in previous commit 457a471ec2d74eb2f4f6723be0797155aed22fa1.
/hardware/msm7k/libaudio-qsd8k/AudioHardware.cpp
|
17b4d724c2d8f3b70ae94ab523f584940d1c175a |
|
02-Feb-2010 |
Eric Laurent <elaurent@google.com> |
Fix issue: 2413494: [Passion-c] Add TTY support. AudioHardware receives TTY mode selection from HeadsetObserver by means of the setParameters() method. Whenever the audio mode is MODE_IN_CALL and a headset is connected, the sound device selection is modified by TTY mode in order to select TTY full, VCO ot HCO oudio routes and a1026 configuations accordingly.
/hardware/msm7k/libaudio-qsd8k/AudioHardware.cpp
|
457a471ec2d74eb2f4f6723be0797155aed22fa1 |
|
03-Feb-2010 |
Iliyan Malchev <malchev@google.com> |
resolved conflicts for merge of 85ce45e2 to master Merge commit '85ce45e2' into manualmerge Conflicts: libaudio-qsd8k/AudioHardware.cpp libaudio-qsd8k/AudioHardware.h Signed-off-by: Iliyan Malchev <malchev@google.com>
|
ea60cb23aeded91155540116dd2cb44dc5641f14 |
|
02-Feb-2010 |
Iliyan Malchev <malchev@google.com> |
am 97e4ee03: am 9ab0b5b1: libaudio-qsd8k: fix a1026.h kernel header include Merge commit '97e4ee03851bc8635d8d4a42e656ebb0f9e943d7' * commit '97e4ee03851bc8635d8d4a42e656ebb0f9e943d7': libaudio-qsd8k: fix a1026.h kernel header include
|
f92ef8fe452d3f8742d3aa680d1a443f571f028d |
|
02-Feb-2010 |
Iliyan Malchev <malchev@google.com> |
libaudio-qsd8k: updates for passionc Signed-off-by: Iliyan Malchev <malchev@google.com>
/hardware/msm7k/libaudio-qsd8k/AudioHardware.cpp
|
9ab0b5b1f3244f261fcda2ead8fcdd5fe5d714b6 |
|
02-Feb-2010 |
Iliyan Malchev <malchev@google.com> |
libaudio-qsd8k: fix a1026.h kernel header include Signed-off-by: Iliyan Malchev <malchev@google.com>
/hardware/msm7k/libaudio-qsd8k/AudioHardware.cpp
|
11c6a166fa684a2e44d22a142aad106f74a9409f |
|
02-Feb-2010 |
Eric Laurent <elaurent@google.com> |
Fix issue 2410159: Camcorder: audio capture is sometimes silent when a wired headset is plugged on Passion. This change fixes two issues: 1 There is a problem with the mutex mA1026Lock protecting access to Audience chip configuration. The mutex is always locked after the driver is opened and unlocked before the driver is closed. There is a risk that the driver is closed by an instance of doAudience_A1026_Control() ready to exit while it had already been tested as opened by another instance of doAudience_A1026_Control() entering and waiting for mA1026Lock to be released. This is what happens when a record is starting and that at the same time the output routing is changed because the record jingle is playing. The fix consists in locking mA1026Lock before opening the driver and unlocking it after closing the driver. 2 There is a problem on both 7k and 8k with the way doRouting() handles the routing requests for inputs and outputs. Current implementation of doRouting() has a parameter indicating if the requestest comes from an input or from an output. The input device is only considered if the request comes from this particular input. This creates a problem when the input is already active and a routing request is received on an output. In this case, the new device is chosen as if no record was active resulting in potential change in input routing and a1026 configuration. The fix consists in checking if at least one input is active when entering doRouting() and always take its device selection into account. If no input is active, the device selected for the output is used. For 8k platform, also call doRouting() instead of doAudience_A1026_Control() when record is started or stopped to make sure that all audio path and accoustic parameters are properly selected and not only the A1026 configuraiton applied.
/hardware/msm7k/libaudio-qsd8k/AudioHardware.cpp
|
3b9744cccd99fd9f32ae3b99fbc8d6898b118a43 |
|
20-Jan-2010 |
Eric Laurent <elaurent@google.com> |
Fix issue 2285561: New AudioFlinger and audio driver API needed for A/V sync Added getRenderPosition() API to AudioHardwareInterface to retreive number of audio frames written by DSP to DAC. This API is not yet implemented on 7k and 8k kernel drivers.
/hardware/msm7k/libaudio-qsd8k/AudioHardware.cpp
|
c42d5b9bd789034e4e10679b24a7bd38e68f4556 |
|
15-Jan-2010 |
Eric Laurent <elaurent@google.com> |
Fix issue 2378103: Bluetooth car kit partly handled by Passion AudioHardware implementation. libaudio: handle audio path SND_DEVICE_CARKIT. Submitted on behalf of HK Chen <HK_Chen@htc.com> Added missing code from HK patch in A1026 configuration.
/hardware/msm7k/libaudio-qsd8k/AudioHardware.cpp
|
3964d4ed448b00791bc1b574913be24f44b45f0f |
|
15-Jan-2010 |
Eric Laurent <elaurent@google.com> |
Fix issue 2199233: ERD16 Incall volume with headset is crazy loud / volume buttons have no effect A regression was introduced by commit 372b6255604d1c54d31e79f1ea31472fe5bc8956 fixing issue 2336461: voice call volume still needs to be updated when entering IN_CALL mode.
/hardware/msm7k/libaudio-qsd8k/AudioHardware.cpp
|
a73c739fbc7641c4d81960328aced549ef3f5c0b |
|
14-Jan-2010 |
Jean-Michel Trivi <jmtrivi@google.com> |
Patch from HTC: fine-tuned acoustic parameters for car-dock wasn't loaded correctly.
/hardware/msm7k/libaudio-qsd8k/AudioHardware.cpp
|
9ffa86825c57c8bf82669b438bd0e8feb865d4b7 |
|
16-Dec-2009 |
Jean-Michel Trivi <jmtrivi@google.com> |
Use the media.enable1026 system property to indicate whether the dual microphone noise suppression should be used during a phone call in handset mode. The disabling is performed by using the same A1026 settings as those used in Voice Recognition when not using the Noise Suppression algorithm. This mode uses the exact same input and gains as the incall receiver mode (A1026_PATH_INCALL_RECEIVER) A new mode (A1026_PATH_INCALL_NO_NS_RECEIVER) is defined for code clarity.
/hardware/msm7k/libaudio-qsd8k/AudioHardware.cpp
|
7fbea5ceecbfb87b9210f6e4ee08191ed1352add |
|
24-Nov-2009 |
Jean-Michel Trivi <jmtrivi@google.com> |
Patch from HTC: changes in libaudio - remove redundant ACDB updates for audio playback and recording. - remove redundant ACDB updates for audio route changes during playback or recording. Along with the matching audio driver change, this fixes b/2275992 and click before playback and AudioHardware is going to standby.
/hardware/msm7k/libaudio-qsd8k/AudioHardware.cpp
|
a4fe0167c6cad83d88b3bc56efa1ffad85b345b5 |
|
20-Nov-2009 |
Eric Laurent <elaurent@google.com> |
Issue 2276684: Kernel audio driver should fully support AUDIO_SET_CONFIG. Align HAL audio input buffer size with kernel driver for the time being. For mr2 release the driver shall support AUDIO_SET_CONFIG.
/hardware/msm7k/libaudio-qsd8k/AudioHardware.cpp
|
58cf88a5a91d82ae2fb3e23365eaa4524a9cd089 |
|
19-Nov-2009 |
Jean-Michel Trivi <jmtrivi@google.com> |
Patch from HTC related to use of camcorder with wired headset plugged in: - libaudio: incorrect ACDB setting was used when starting to record with wired headset. - libaudio: remove unnecessary audio path switch when camcorder is started with wired headset. Submitted on behalf of HK Chen <hk_chen@htc.com>
/hardware/msm7k/libaudio-qsd8k/AudioHardware.cpp
|
f8d3aebe4c19283eb34fb89e5932b3399d3bd753 |
|
15-Nov-2009 |
Jean-Michel Trivi <jmtrivi@google.com> |
Remove workaround introduced in 956f7ba5ee0f087c91b5fefd2718dae30f8c1e29 to fix issue 2229040. This workaround is considered no longer useful by HTC since the changes in the A1026 configuration. Removing workaround on behalf of HK Chen (HTC).
/hardware/msm7k/libaudio-qsd8k/AudioHardware.cpp
|
dd65e38951ed174f9d3d34886795438440f7eea0 |
|
12-Nov-2009 |
Eric Laurent <elaurent@google.com> |
Fix issue 2242614: Wired headset not recognized: bogus "state" in ACTION_HEADSET_PLUG broadcast. Removed platform specific devices from the list of devices listed in AudioSystem.
/hardware/msm7k/libaudio-qsd8k/AudioHardware.cpp
|
956f7ba5ee0f087c91b5fefd2718dae30f8c1e29 |
|
09-Nov-2009 |
Eric Laurent <elaurent@google.com> |
Workaround for issue 2229040: [Passion] Audio driver stuck when changing input routing while recording is active. This change avoids the audio driver lockup when changing audio input path configuration. It does not solve the root cause in audio driver or dsp. When applied lockups observed in the folling use cases are eliminated: - use back mic for camcorder recording (issue 2194140) - switch input device when headset is plugged in or out during record (issue 2226658). Also removes warnings. Submitted on behalf of H.K Chen <hk_chen@htc.com>
/hardware/msm7k/libaudio-qsd8k/AudioHardware.cpp
|
08516fe50b023532d5a3010050970de28e14621b |
|
10-Nov-2009 |
Iliyan Malchev <malchev@google.com> |
libaudio-qsd8k: update a1026.h header and improve firmware-loading code -- new a1026.h kernel header that contains just the user-space API and is sanitized through bionic/libc/kernel/tools/clean_header.py -- AudioHardware.cpp: -- replace vr_mode with vr_mode_enabled, and use 0 and 1 instead of A1026_VR_MODE_DISABLED/ENABLED, which is not defined in the kernel header; -- in doA1026_init(), replace a fread() of 1 byte with a read that as much as possible from the firmware file in as few as possible passes before we call into the kernel -- Replace the size of the on-stack f/w buffer with A1026_MAX_FW_SIZE, which now comes from the kernel header -- Fix up some signed-unsigned comparison warnings on mBluetoothIdTx Signed-off-by: Iliyan Malchev <malchev@google.com>
/hardware/msm7k/libaudio-qsd8k/AudioHardware.cpp
|
ba36d4fa33072ef14183365fffd289762c26905e |
|
09-Nov-2009 |
Jean-Michel Trivi <jmtrivi@google.com> |
When configuring the A10026 for microphone input outside of a call, always use the A1026_xx_RECEIVER paths. This prevents the use of the A1026_xx_SPEAKER paths for voice reco modes for which the gain is too high.
/hardware/msm7k/libaudio-qsd8k/AudioHardware.cpp
|
63af0f3cbd387e97bcaca82d1e22787c224d6430 |
|
08-Nov-2009 |
Jean-Michel Trivi <jmtrivi@google.com> |
Use new acoustic parameters when recording in voice recognition mode or for camcorder mode.
/hardware/msm7k/libaudio-qsd8k/AudioHardware.cpp
|
255bdedb2d7ebf4b14690776ff652df1de97fe95 |
|
06-Nov-2009 |
Eric Laurent <elaurent@google.com> |
Fix issue 2243808: Audio input routing broken. The wrong key was used when removing the voice recognition mode from parameters list after handling it in AudioStreamInMSM72xx::setParameters() causing the set routing parameter to be removed and ignored.
/hardware/msm7k/libaudio-qsd8k/AudioHardware.cpp
|
4bcd5b16c66bc5c2bffe232f15f5cb83aea18318 |
|
05-Nov-2009 |
Jean-Michel Trivi <jmtrivi@google.com> |
Use new A1026 header to us 1026 presets that match the driver. Update record configuration to use those presets.
/hardware/msm7k/libaudio-qsd8k/AudioHardware.cpp
|
739de5f36523862a7caa15590bd6b680b6cd2854 |
|
05-Nov-2009 |
Jean-Michel Trivi <jmtrivi@google.com> |
Fix bug 2194140 Add support for the voice recognition mode. The voice recognition mode is enabled when using the AUDIO_SOURCE_VOICE_RECOGNITION audio recording source. The intended behavior is to use the same microphone input as the default input, but to configure the A1026 chip in the special mode tuned for voice recognition, for the matching input. For testing purposes, two settings will be available for each input, the choice of which one is used will be dependent on the vr_uses_ns property. The availability of the voice rec mode is dependent on the enable1026 system property. Note that the final A1026 configuration modes are not used yet (not available) but the ones to use are specified in the comments of the AudioHardware::doAudience_A1026_Control() function at line 952 of AudioHardware.cpp for instance. Upon availability of other presets, the enable1026 property could be used to disable or enable even more of the 1026 features.
/hardware/msm7k/libaudio-qsd8k/AudioHardware.cpp
|
d1dc8c30a969ec3539fc21b940789b2f23197756 |
|
05-Nov-2009 |
Eric Laurent <elaurent@google.com> |
Fix issue: no audio after media_server process crash while in call. Reset audio ctl driver voice mode when AudioHardware is initialized in case media_server process crashed while in call.
/hardware/msm7k/libaudio-qsd8k/AudioHardware.cpp
|
10254cc35f5cb7ebe2c7ef452815486cb8e92a33 |
|
03-Nov-2009 |
Jean-Michel Trivi <jmtrivi@google.com> |
HTC update: add attenuation to avoid distortion, and compensate in acoustic parameters.
/hardware/msm7k/libaudio-qsd8k/AudioHardware.cpp
|
da9d5ab10524c32d7949363a10fde1bec5fdf9fa |
|
31-Oct-2009 |
Eric Laurent <elaurent@google.com> |
Fix issue 2194140: [Passion] Support Audience chip. AudioHardware QSD8k: - Add setParameters comment to control noise suppression states via new IOCTL A1026_SET_NS_STATE implemented in a1026 driver. - Add support for new input device DEVICE_IN_BACK_MIC. AudioPolicyManager: - Add support for audio source AUDIO_SOURCE_CAMCORDER.
/hardware/msm7k/libaudio-qsd8k/AudioHardware.cpp
|
0f2f4d0a60cf93a7a281e217408a4249715f5748 |
|
30-Oct-2009 |
Eric Laurent <elaurent@google.com> |
Fix issue 2194140, Part 1. Submitted on behalf of HK Chen <hk_chen@htc.com> 1) implement ACDB dynamic update for 1) audio playback, 2) audio recording, 3) BT headsets. 2) implement A1026 hard reset recovery mechanism
/hardware/msm7k/libaudio-qsd8k/AudioHardware.cpp
|
5d89308f2e1252eff2743bf823bf558dbb0de2fa |
|
28-Oct-2009 |
Dave Sparks <davidsparks@android.com> |
Add wakelock to audio HAL. Bug 2218158. Applications are supposed to hold a wakelock. However, since 1.0, the audio driver and/or HAL has held a partial wakelock. That means that many apps will be broken if we don't hold a wakelock while audio is playing. This patch holds a wakelock while the audio driver is open and releases it when it goes to standby mode.
/hardware/msm7k/libaudio-qsd8k/AudioHardware.cpp
|
3cb8864598e72c04859f410bb03f242cf3965dbe |
|
09-Oct-2009 |
HK Chen <hk_chen@htc.com> |
qsd8k: fix set_mic_mute() in AudioHardware. Signed-off-by: Brian Swetland <swetland@google.com>
/hardware/msm7k/libaudio-qsd8k/AudioHardware.cpp
|
7161d052ce69228825bd5deca3bfa4a213a99f06 |
|
16-Sep-2009 |
HK Chen <hk_chen@htc.com> |
Fix get_snd_dev() in AudioHardware.
/hardware/msm7k/libaudio-qsd8k/AudioHardware.cpp
|
31923bb6797ec304d26395acf6d946ab8e44aa6e |
|
22-Sep-2009 |
HK Chen <hk_chen@htc.com> |
qsd8k: audio: remove pre-filling buffers for pcm playback. Signed-off-by: Brian Swetland <swetland@google.com>
/hardware/msm7k/libaudio-qsd8k/AudioHardware.cpp
|
2aec439308494aa1607e7c1bb32e99863fe32dc6 |
|
02-Sep-2009 |
Brian Swetland <swetland@google.com> |
libaudio-qsd8k: very rough cut of 8k audio support This really needs a lot of cleanup and AudioPolicyManager should be shared with the 7k bits, etc, etc.
/hardware/msm7k/libaudio-qsd8k/AudioHardware.cpp
|