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/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/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/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/AudioHardware.cpp
|
34a989e873c51c4fbef5beaf068283e82f41ff29 |
|
10-Oct-2009 |
Eric Laurent <elaurent@google.com> |
Fix issue 2172934: AudioHardware for msm7k: some file descriptor tests must be fixed.
/hardware/msm7k/libaudio/AudioHardware.cpp
|
63ca66ea9da5ea61806ee547f3aa1c498ac235fe |
|
27-Aug-2009 |
Eric Laurent <elaurent@google.com> |
Fix issue 2080258: audio routing is not reset when call ends. Modify AudioPolicyManager::setPhoneState() to force a routing command to audio output when call ends or starts even if the same device is selected. Implement AudioHardware::setMode() to force routing change to be taken into account when phone state changes.
/hardware/msm7k/libaudio/AudioHardware.cpp
|
16327daa90dffd97f03d24c59ec0a4d38aa94b90 |
|
06-Aug-2009 |
Eric Laurent <elaurent@google.com> |
Added support for bluetooth car kit.
/hardware/msm7k/libaudio/AudioHardware.cpp
|
ba77ed6e3c6006d2797867f14ffd01e99cafc03b |
|
04-Aug-2009 |
Eric Laurent <elaurent@google.com> |
Fix getParameters() default implementation. Do not return empty string but key value pairs with empty values.
/hardware/msm7k/libaudio/AudioHardware.cpp
|
2735e3b55bdaf33cfd0dbaa1b914231243933e92 |
|
17-Jul-2009 |
Eric Laurent <elaurent@google.com> |
Fix issue 1795088 Improve audio routing code Integrated comments after patch set 1 review. Enabled tone playback instead of notifications while in call.
/hardware/msm7k/libaudio/AudioHardware.cpp
|
35f70b5d158659c59981365ecd8e2acfb09b3181 |
|
20-Jul-2009 |
Brian Swetland <swetland@google.com> |
libaudio: correctly start in absence of libhtc_acoustic.so This exit path failed to set mInit = true; Signed-off-by: Brian Swetland <swetland@google.com>
/hardware/msm7k/libaudio/AudioHardware.cpp
|
d498a9ce9863bd979d3403473568c6e1e38b7dae |
|
17-Jul-2009 |
Brian Swetland <swetland@google.com> |
enable libaudio for qsd8k, and make it non-htc-device friendly Currently libaudio supports an htc extension for audio parameter adjusting (fine), but this extension breaks on non-htc devices (not fine). This change makes nonexistence of the htc extension non-fatal. Signed-off-by: Brian Swetland <swetland@google.com>
/hardware/msm7k/libaudio/AudioHardware.cpp
|
d3f960b7f4401fae773bca8d93c3c72b9df1476b |
|
22-May-2009 |
Eric Laurent <elaurent@google.com> |
Fix issue 1846343 - part 1 This change is the first part of a fix for issue 1846343, : - Added new enum values for input sources in AudioRecord and MediaRecorder for voice uplink, downlink and uplink+downlink sources. - renamed streamType to inputSource in all native functions handling audio record. A second change is required in opencore author driver and android audio input to completely fix the issue.
/hardware/msm7k/libaudio/AudioHardware.cpp
|
597296efb5c7727294b69c3c756d71ae1c509eb1 |
|
20-May-2009 |
Dave Sparks <davidsparks@android.com> |
Remove deprecated openInputStream factory method
/hardware/msm7k/libaudio/AudioHardware.cpp
|
9e8b6821afad923dcc616768f7582545c90a0bc6 |
|
19-May-2009 |
Dave Sparks <davidsparks@android.com> |
Modify openInputStream function to add inputSource type Continuation of bug 1846343
/hardware/msm7k/libaudio/AudioHardware.cpp
|
d066973de83218a24c773e5de04d10ed2d730873 |
|
25-Mar-2009 |
Eric Laurent <> |
Automated import from //branches/donutburger/...@141204,141204
/hardware/msm7k/libaudio/AudioHardware.cpp
|
7510aaf4b3a3c545d943b09e0fb9f56ea2fc5e24 |
|
12-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@137873
/hardware/msm7k/libaudio/AudioHardware.cpp
|
3ccfb0bb4f6f8c18d5b66b5568a9aa1d969a598a |
|
04-Nov-2008 |
Iliyan Malchev <malchev@google.com> |
update libaudio to new snd-driver ioctls Signed-off-by: Iliyan Malchev <malchev@google.com>
/hardware/msm7k/libaudio/AudioHardware.cpp
|
a3a947cc7e1bfaf7b5cfc85b71f602edf562836d |
|
29-Oct-2008 |
Brian Swetland <swetland@google.com> |
msm7k hardware glue, initial checkin: libaudio
/hardware/msm7k/libaudio/AudioHardware.cpp
|