| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Audio policy:
- Added active capture indication to sound trigger service:
recognition stops if concurrent capture is not supported.
- Added generation of reserved I/O handle and session ID for
utterance capture.
Sound trigger service
- Added sound model update callback handling.
- Added service state callback
- Simplified callback shared memory allocation.
Bug: 12378680.
Change-Id: Ib0292c2733e6df90fdae480633dd9953d0016ef1
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Added check for NULL pointer to avoid crash
in AudioPolicyManager when playing AC3 data.
Change-Id: Ie56788f6277be6da47d4218b1b4a6b359fce6473
Signed-off-by: Phil Burk <philburk@google.com>
|
| |
| |
| |
| | |
Change-Id: I8ae5d378df694360be3d76e06512e2ebc9fc0572
|
|\ \
| |/
|/|
| | |
into lmp-dev
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Currently CameraSource/AudioSource's stop() and read() are both called
from the puller's looper. This works if source operates normally (i.e.
read() returns regularly before source is stopped), as the stop() will
eventually be handled by the looper. However, if for some reason the
source hang, it will get stuck in read(), and the stop() will never
be processed, which could lead to ANR (in addition to the source hang).
We need to move the source's stop out of the puller's looper. It also
can't be on MediaCodecSource's looper, because the source's stop
synchrounously waits for all outstanding buffers to return, these
are only returned when MediaCodecSource's looper processes the buffer.
This change moves the stop to MediaCodecSource::stop, after encoder
is shutdown.
Bug: 16522726
Change-Id: Ie91f563c5d8a98ab091bf1945af4e51f662b9403
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| | |
bug: 12247651
Change-Id: I564ac8de3da2430342a028f4058e2c5ac2d85d5e
|
| |
| |
| |
| |
| | |
Bug: 13744704.
Change-Id: I572c89f88dcab2b8b612ec6860983306f9f159ab
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | | |
Bug: 13744391.
Change-Id: I2430e09ad00476b9ac28dc55466942c61fb0531d
|
|\ \ \
| |_|/
|/| | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This reverts commit 936c84a5b743dce2a2572fdf54b37b187bc88b60.
Bug: 16374803.
Change-Id: I9d3137faeddf119b13f9cdb73c14ca49e1ee3d1c
|
|\ \ \
| |_|/
|/| | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Use stdatomic.h instead. We're trying to remove android_atomic use
wherever possible. The 64-bit uses seem easiest to remove first.
This cleans up the code, though not as much as C++ <atomic> would,
if it worked everywhere.
(cherry picked from commit f39b560952d3706a7ff47ef0d82c1a836daeea42)
Change-Id: I3c29bdbd5915cb9d47118834a3a742fe296cf87f
|
|\ \ \
| |/ /
|/| | |
|
| | |
| | |
| | |
| | |
| | | |
Bug: 16385674
Change-Id: Ib322cc13488dcadf2409921272cd469304b0af37
|
|\ \ \
| | | |
| | | |
| | | | |
lmp-dev
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 16641557
Change-Id: I252825bd767a4581b9fca560f2cabfb37c18e137
|
|/ / /
| | |
| | |
| | |
| | | |
Bug: 16641557
Change-Id: I433158e6e585b4714cfd6d89562ecd0587a07ae2
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Assumption:
NuPlayer must see both (a/v) discontinuities before resuming.
Example issue:
Suppose we're changing the video track, so the video source queues a
DISCONTINUITY_FORMATCHANGE, and the audio source queues a DISCONTINUITY_NONE.
Consider this sequence of events without this change:
1. audio discontinuity seen by player
2. mFlushingAudio = FLUSHED
3. video discontinuity seen by player
4. mFlushingAudio != NONE so no performScanSources is queued
5. video decoding shuts down without being restarted
Bug: 15153976
Change-Id: I659550d9c0f883828103142abead857f576f25b1
|
| |
| |
| |
| |
| |
| | |
Bug: 15153976
Change-Id: Idfce856b4ca5fa7853da857757490798bc3ffe1e
|
| |
| |
| |
| |
| | |
Bug: 16641557
Change-Id: I77aad6e710117a16093726bf3b36360904fbe148
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
In async mode:
- codec must be restarted after flush
- dequeueIn/OutputBuffers fail
- getIn/OutputBuffers fail
Bug: 11990118
Change-Id: If2d6a76ab499ee9ed4a11486fb537acbc52e66f6
|
|/ /
| |
| |
| |
| | |
Bug: 10706245
Change-Id: I9a77631bfae0358be229b079228c1fcae0e77faf
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | | |
Bug: 16653284
Change-Id: I54165041da5a13498d627eee1b3ec59ef3c923b0
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | |
| | | |
Bug: 16668055
Change-Id: I11fd3f795bbb50113e1a1e28e682edd76f11e146
|
|/ /
| |
| |
| |
| |
| |
| |
| | |
This reverts commit bace25b0fbcd5101d2db288b0c70c4a239f0e815.
This reverts commit eb1735e343a93830df259ae8882160bb0d79dcb5.
This reverts commit 05312bc7478feec11d9ae88e951c0857a7a3f28d.
Bug: 16660839
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Matches some USB device configurations.
Change-Id: I2429f9de87816b4ad1d39516e3821562617c76ee
|
| | |
| | |
| | |
| | | |
Change-Id: I4edd6cde11de62c9c19dfa623d08cddf42c953db
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | | |
Bug: 15328708
Change-Id: I9dfca30745c3e4dda91c3894363462f8631c41a1
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: Ibdbdc6ea0b87cdcd15432257a3455b11b3ce14b7
|
|\ \ \ \
| |/ / / |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Ensure AUDIO_FORMAT_PCM_FLOAT and AUDIO_FORMAT_PCM_32_BIT
have proper precedence.
Allow more mixer channels than 2.
Change-Id: I02af97dad6218b25cbada4d93077a213314c6725
|
| | |
| | |
| | |
| | | |
Change-Id: Ife5e40264f43fb3ccb40830228701003fe106bf5
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Mirror, mirror on the wall, who is the best rotated of them all?
Also, use consistent enum names.
Bug: 16637957
Change-Id: Ie211d3b57b9e7d01122192ad03b73ceba5bf1bd3
|
|\ \ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Bug: 15328708
Bug: 15342615
Bug: 15342751
Change-Id: I6bb110a1eba46506799c73be8ff9a4f71c7e7053
|
|\ \ \ \ \ |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Change-Id: I10343151f930a4ab778a6d2574ab5165af2013ba
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Indicate the audio session ID when calling getInput(),
startInput(), stopInput(), releaseInput().
Bug: 12378680.
Change-Id: I763793752f93e2f4e1445a5ab217c895af011038
|
|\ \ \ \ \ \ |
|
| | |_|_|/ /
| |/| | | |
| | | | | |
| | | | | |
| | | | | | |
Bug: 16525305
Change-Id: Ie010822b0fa9dec74adde1d1b091ee44c183fc94
|