| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Change-Id: I164708a5b76a341a185467b008ecbec98d58a6df
|
|\ |
|
| |
| |
| |
| | |
Change-Id: I9cd8a718d2873543609aa651fd85749478f4f89f
|
|/
|
|
|
|
|
|
|
|
|
|
|
| |
The detector only gave non-ascii data to ICU. In some cases that could
result in very short data, for which ICU would issue a low confidence
level for the actual encoding. By padding the data with additional
(ascii) tags, we improve accuracy for such files. Becauses this can
reduce accuracy in other cases, only do this when the initial confidence
is low.
b/13473604
Change-Id: I63d932043155c310b0e358cdf2d37787961e94b7
|
|
|
|
|
|
|
| |
It was only used for one log.
A better solution will be a per-track unique ID.
Change-Id: Ia440e02ae4a5a4019a9a2d08970e1ee93ac4c3a3
|
|\ |
|
| |
| |
| |
| |
| |
| | |
Bug 7531968
Change-Id: I6d0e79fa8cab5b6eb36bcc34977f4cf0d7eec8ea
|
| |
| |
| |
| |
| |
| |
| | |
isOffloaded() tries to lock mLock again. We should be calling isOffloaded_l()
b/13394633
Change-Id: I155be6fee937f894d8e6c974e593223ab6014ade
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | | |
Bug: 10994052
Change-Id: Ib2e38e7a600bcffef8cbc68c1722e40fbbc7ea67
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
An offload output can be re-used between two audio tracks having
the same configuration. A timestamp query for a paused track
while the other is running would return an incorrect time.
To fix this, cache the playback position on a pause() and return
this time when requested until the track is resumed.
Bug: 12826612.
Change-Id: I324112ea9827e52fff53ef44cd8513c8d85a0bc4
|
| | |
| | |
| | |
| | | |
Change-Id: If16d6495c16e0d61a221f81bfd49e7d14bbfdc12
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Create the callback thread earlier, before creating the IAudioRecord,
so that the thread's tid is available as a parameter to openRecord().
Also move initialization of mCbf to same point as in AudioTrack.cpp.
Change-Id: I61ea4c5e2724ccfc691aaf51bc02a7c10d5a7495
|
|\ \ \ \
| |/ / / |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Assume double-buffering because we don't know the true HAL sample rate,
and for fast tracks we must accomodate kernel scheduling and app
computation jitter.
Change-Id: I983d6048a8b4814cfa5bf789397cdd9f1572256c
|
|/ / /
| | |
| | |
| | |
| | |
| | | |
And simplify by removing the unused I/O handle parameter 'output'.
Change-Id: Ie9c4df17a7378066312d4ed8790fda7a9125c95e
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Use the transfer mode to distinguish use cases, as the presence of
a callback handler is not sufficient. For example, the track could be
configured for synchronous transfer with write() or read(), and also
have a callback handler for position updates. But that does not mean
the track can operate in fast track mode.
Change-Id: I2a7f1f0ca98e68efe180b524496985109d8ce291
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
It's size_t consistently
Change-Id: I29638ef59ac773218025f2403a3508a307b487e0
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
It's uint32_t consistently
Change-Id: If8298c7e9aeea2b951fe47b675adbdf48d104846
|
|\ \ \ \
| |/ / /
|/| | | |
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: I35a2af255f55e008d64142ed0eceb6e83473d630
|
| | | |
| | | |
| | | |
| | | |
| | | | |
bug:13225538
Change-Id: I4fccc414923f7e62cd46d691c67cb44b9692c225
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
IAudioFlinger::createTrack and IAudioFlinger::openRecord
both guarantee that (status == OK) == (sp<> != 0).
Change-Id: I91cb4f7e843019efb65cace7ba146f7da7aa5b59
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: I4dc977f22f51cd618dc83d800b4b8756929a4612
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: I7dd14eabd78c9130a157da2063a1d65ec4f9c65a
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This also fixes a bug where, for a re-created IAudioRecord,
mRefreshRemaining was not being reset correctly.
Change-Id: I9f721a4edf92aab859cf3f247ab7f65562d14fb0
|
|\ \ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I0c2483210903c922f06f097ada373a37b9a90a02
|
|\ \ \ \ \
| |/ / / / |
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I5320a6b2d7f7077cb12d7da4f2ca30a940100bf2
|
|\ \ \ \ \
| |/ / / / |
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I4b649feeef47e7968a9fa3a460217017ca9b05fe
|
|\ \ \ \ \
| |/ / / / |
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I12369dfbb9e75389f2cab015a706decdaf310a0d
|
|\ \ \ \ \
| |/ / / / |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
But still restricted to 16-bit PCM currently
Change-Id: I5df0e5033da9144ca73e44addf14a63d31406034
|
|\ \ \ \ \ |
|
| | |_|_|/
| |/| | |
| | | | |
| | | | | |
Change-Id: I8721ecedfb429c4e233453d1e768ddf69ecabbe4
|
|\ \ \ \ \
| | |/ / /
| |/| / /
| |_|/ /
|/| | | |
|
| |/ /
| | |
| | |
| | | |
Change-Id: Ife23b88474c1d62c0cf682c1a310d951f2c0f54a
|
|/ /
| |
| |
| | |
Change-Id: Id8aac1077c3de1bb1f58bfcfcca93d685abe9b79
|
|\ \ |
|
| | |
| | |
| | |
| | | |
Change-Id: Iee41641252f65cea9ce0ea0ec1ea4229608f7c64
|
|/ /
| |
| |
| |
| |
| | |
Supports multiple clients both at native sample rate and with resampling.
Change-Id: Icea55b4fd30751761b7debaa3ce016c79e712d8d
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | | |
This removes a circular dependency between libmedia and libnbaio
Change-Id: I3692cbbe2b76028a953b36606b62cdda70c8c26f
|
|/ /
| |
| |
| | |
Change-Id: I58ff399ace74965ebf8e5690c20637385f9425ad
|
| |
| |
| |
| |
| |
| | |
so they can be properly freed.
Change-Id: I6f389035bc29e74e7c367c1c6d0252b180f666b3
|