| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
| | |
| | |
| | | |
Change-Id: Ia74cceea707e51195a570eed37d4b334ac413773
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Basic skeleton of usb camera hal implementation
* Vendor tag is not supported yet
* Further usb camera hal implementation can be filled into UsbCamera.cpp
* Hot plug thread need to be implemented
Change-Id: Ida63b6d640e32192f5b60a280d9d5106d80e523f
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Add torch mode APIs to support flashlight without opening any
camera devices.
Bug: 2682206
Change-Id: Ida46bb878962caf305f3e97051b15e0465fe8c02
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Moved audio (alsa actually) utils files to system/core/alsa_utils.
Renamed "audio" utilities to "alsa" to better relect their purpose.
Renamed audio_hw.c -> to audio_hal. c to better reflect its purpose.
Change-Id: I67c7d47ee02abafd3e12c4c99d605a62e0f59122
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit 'e64994292cb02fae66f04002e1121d29979503d1':
usb audio: Fix incorrect bytes returned for recording
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
In a recording session , the number of bytes read is
not updated when pcm_read() fails. This results in
silence/invalid data being added during a device switch
from USB headset to handset.
Fix is to reset the number of bytes read if pcm_read()
returns an error indicating removal of USB headset.
Bug: 18611518
Change-Id: I10d578c3cf1037c90a891e63be2bd1c2b7e6126b
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
free momory for str_parms to prevent memory leak.
cherry-pcik from aosp c357157e28dc0ffd069b80aeba9bf8b9eed72c9a
Bug: 18798194.
Change-Id: I7df5567d665554dbd4646c881f0f48b0c568c5fe
|
|\ \ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I8b6dd33be1915db764eeaefec5a5da1e9d02dc87
|
|\ \ \ \ \
| |/ / / /
|/| / / /
| |/ / /
| | | | |
* commit '7e9abab1940091b4c4d7589160855870fdda437e':
usbaudio: Return 0 bytes on failure in capture
|
| |\ \ \
| | | |/
| | |/|
| | | |
| | | | |
* commit 'b338957d02528e5b51a15c5ce21e96fad4ff4a6f':
usbaudio: Return 0 bytes on failure in capture
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Return 0 bytes from in_read() in failure conditions so that invalid
data is not recorded.
Change-Id: I9a6294e4162fa642fd7e160a32d1ad16f255ff62
|
|\ \ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: Iaef5bcaec19a9e383432c8c8460bcdf1115f1072
|
|\ \ \ \ \
| |/ / / /
|/| / / /
| |/ / /
| | | | |
* commit '06fcfc506c44724bbd8089e8971b77aa8edfdde8':
Fix missing #includes in hardware/libhardware.
|
| |\ \ \
| | |/ /
| | | |
| | | |
| | | | |
* commit '02e3094598ced8b05c9614d6070556d20328ef43':
Fix missing #includes in hardware/libhardware.
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: If7c72054bf79b89c3d7a544956da671c3b404269
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
* commit '68be24b1cc2bad01d9257f76faabd92dbfc6c3e8':
fix: memory leak
|
| |\ \ \
| | |/ /
| | | |
| | | |
| | | | |
* commit 'ce0bbb97c12b712b75d0df42ce2f6e3f35d8db72':
fix: memory leak
|
| | |\ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
free momory for str_parms to prevent memory leak.
Change-Id: I7df5567d665554dbd4646c881f0f48b0c568c5fe
|
|\ \ \ \ \
| |/ / / /
| | | | |
| | | | |
| | | | | |
* commit '14a4dd8907557760cc0d7d72246444a21e9ddfe1':
Cleanup Obsolete LOCAL_PRELINK_MODULE.
|
| |\ \ \ \
| | |/ / /
| | | | |
| | | | |
| | | | | |
* commit 'cecfb56c5192fe1517a8e1b5910f16961db4a231':
Cleanup Obsolete LOCAL_PRELINK_MODULE.
|
| | |/ /
| | | |
| | | |
| | | |
| | | | |
Bug: 18675947
Change-Id: I62157cd4bfab0edb445dd6543eb47a981e642848
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: Iba6403a3493379c39d22d23b438f028efc2e15b7
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Removed unused function.
Removed unused data table.
Cleaned up TAG strings.
Change-Id: I4c5dbd72f7363dd0a7a60eb2498e122adda43211
|
|\ \ \
| | |/
| |/|
| | |
| | | |
* commit '2cbdfa9c991fc63f52f48831e5509fcc2889db77':
usbaudio: reset profile on device disconnect
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Reset ALSA device profile on disconnect event. Entries like
supported sample rates, channel counts, formats will be repopulated
on next connect.
CRs-Fixed: 765434
Change-Id: I27d3b7fd7ff22646996f58c53de08547b1a1fb6a
Bug: 18606219
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit '257fde6eb533b890776c8c45be8b61c48ab04945':
Reroute submix HAL: fix race condition on output state
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When reading from a pipe, the output may have been previously
closed, therefore the output state should only be read if it
is still available.
This fixes a race condition observed between in_read() (which
accesses the output stream) and adev_close_output_stream()
(which sets the output reference to NULL).
No issue with out_write() which checks the input reference.
Bug 16009464
Change-Id: I979bc12c8fe91fad9b6f6c9e0be107c1bacae360
|
|\ \ \
| | |/
| |/|
| | |
| | | |
* commit '719b8423102e469b5a537321f02011415b376dbe':
Remove ARCH_X86.
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Should have been __GLIBC__, but the code is dead anyway.
Change-Id: I773f296a9c31949fa631cad863b841584c71f0ef
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
* commit '32fb8b2d9f8399a745a26dddc031cc16867ada2d':
Fix C++11 build.
|
| |/ /
| | |
| | |
| | |
| | |
| | | |
Not sure how this slipped past my checkbuild...
Change-Id: Id238887a2a47ced387a6128a772fad3e468096be
|
|\ \ \
| | |/
| |/|
| | |
| | | |
* commit 'b73bc86089b8a65da88776bafcf48529431150b8':
Support multiple pipes for rerouting
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The implementation for "remote submix" supported only one pipe
to capture the output of a mix.
This CL adds support for multiple pipes to support capturing
multiple audio routes.
The structure for the r_submix audio device holds an array
of route configurations (route_config), each referencing
the input and output of the pipe dedicated to this route.
Each route is associated to a unique address. Standby
status is maintained per stream.
Bug 16009464
Change-Id: Ie164c4ad2a6d8138f825484e7faf29a974ccf82e
|
|\ \ \
| |/ /
|/| /
| |/
| | |
* commit '40d48e177f243c6093a45301db122a0475cc1124':
Stop using stlport.
|
| |
| |
| |
| |
| | |
Bug: 15193147
Change-Id: I5d53338f239ba18a2b007b345ba050d1560220b4
|
|\ \
| | |
| | |
| | |
| | | |
* commit '5ff76cb59a892a856fa2476bd5bf7c41537b78e1':
Fix remote submix crash on null sink
|
| |\ \
| | |/
| | |
| | |
| | | |
* commit '793a854e4547fa43632907a987684cadc93eb5e2':
Fix remote submix crash on null sink
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The "remote submix" HAL uses a MonoPipe instance to "pipe" audio
from the sink of this virtual device HAL to its source.
The life-cycle of this pipe is:
- creation when either the input or output stream is open
- destruction when both input and output are closed.
Changes are:
Fix test for pipe destruction: destroy pipe when both
input and output streams are NULL.
Count how many read errors went into the logs and cap them
so as not to spam the logs when the pipe is not properly
set up. Less 'I' logs, 'D' logs instead.
When opening input stream, check for non-null sink before
checking if it's shutdown.
Bug 16653334
Bug 17111907
Change-Id: I634b4192b00f9b74a5109f42242423e9c8cb4c7c
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit 'e914d696a95a799bbcca221238a1874f995871ca':
Report multihal is SENSORS_DEVICE_API_VERSION_1_3 compliant
|
| |/
| |
| |
| |
| |
| |
| |
| | |
Ignore calls to any HALs that are not 1_0 or 1_3 compliant.
Fix an unused parameter compiler warning.
Bug: 17645248
Change-Id: Ia50f7512dfe35f37973440bba84e1b1b177a7bd3
|
|/
|
|
|
|
| |
Bug 17526569
Change-Id: I64b00fd338eb937303b41608728a18341ee78820
|
|
|
|
|
| |
Bug: 17321604.
Change-Id: I8e3daf2636dfd5f85d990c0093c52c908064afac
|
|\ |
|
| |
| |
| |
| |
| |
| | |
Bug 17136569
Change-Id: I94bdbe037533a3fd77f249fdd42f4d828d3bf87f
|
|/
|
|
|
|
| |
Bug 17136854
Change-Id: Ia0136fa8f9b4789d538b2dccb3f6071ae5062010
|