| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
* Annotate source buffers with the audio format
* Add support for 32-bit signed PCM offload (zero copy)
Change-Id: Id758830784740c0a038452d383c8ec8e3e4593bb
|
|
|
|
|
|
| |
* Remove unnecessary check condition.
Change-Id: I3267a0c13165d74a2ea90333b42f000b51ace98b
|
|
|
|
|
|
|
|
| |
* This code should have been left inside the conditional
* Also fix a misplaced flag which remained set even if opening
in offload mode failed
Change-Id: Id72c17051db601e37b2289e6d904ce8f75ba6878
|
|
|
|
|
|
|
| |
* Fix PCM offload when passthrough isn't used (OMX decoder)
* Fix resume of PCM offload after pause timeout
Change-Id: I742eafd6ae8656fb214ba6b81cc63af57590c28c
|
|
|
|
|
|
|
|
|
|
| |
Audio EOS won't be notified by renderer if AudioSink is not ready
and first buffer itself has EOS. Playback complete won't happen
due to missing audio EOS. Hence, audio EOS needs to be handled
and notified.
Change-Id: I779c7034d1964485c2b064c0179d3cd341af5a5f
CRs-Fixed: 801121
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
While offload playback is going on, if user seeks
to new position and after playback for some time,
pauses till offload tear-down happens then playback
resumes with old seek position
The book-keeping of seektime for start of playback
mStartupSeekTimeUs is also done in running state,
it should be done only if current state is paused.
Change-Id: I4173a2ee4244bcc6794822dde24c467f0189b84f
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
While offload playback is going on, if user pause
and seeks to new position before offload tear-down,
on resume playback starts from old time-stamp
Once tear-down happens NuPlayer loses updated time-stamp
so while resuming it resumes playback with stale time-stamp.
Make sure the updated time-stamp is maintained in
NuPlayerDriver wich is used while starting the playback
after resume.
Change-Id: I3451051f569264b21a43be81b01798fabed0182e
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix compilation with debug enabled
* Allow FLAC offload to be enabled independent of QCOM_HARDWARE,
tested with the Nexus 5X and is working!
* Disable the FLACExtractor if offload is enabled since it can
only output decoded PCM. This will force FFMPEG to be used,
which does everything we need for FLAC offload
Change-Id: I7d71c153a6a6ea7df8e32bc73f5cbe9f51cdcf64
|
|
|
|
| |
Change-Id: Ie9ff0d275fc5f853c18fe4d5e590443d0c316e99
|
|
|
|
|
|
| |
* Fill in stubs for CAF commit bd019775a921ae9165e924e4d37bc838a7ef5781
Change-Id: Ia97d965d121aa3c3c2fc0ab8b164244416852ca5
|
|
|
|
|
|
| |
* Forward-port CAF L-MR1 code to fill in stubs.
Change-Id: I6c07e803ad4fe3ef5286f61667b5ca11380db984
|
|
|
|
|
|
|
| |
* New Qualcomm DSPs support FLAC decoding, but the offload code is
stubbed out in M. Unstub it from what used to be open source.
Change-Id: I03c129c42ebc6909a3392e42a7f96791c8fabd28
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Forward-port the open-source code from L which was moved to closed-source
in M. This is being done out of necessity- the architecture chosen by
Qualcomm is not optimal and doesn't work well with a singular
codebase which attempts to service a large number of devices.
* This patch brings in the code to support PCM offload (AudioFlinger
bypass). This allows for playback of high resolution clips without
decimation stages, and enables reduced power consumption for audio
pipelines which take advantage of the Hexagon DSP (effects).
Change-Id: I0ef15fc3df538ab723f3c12ce0ed71d0e607c99e
|
|
|
|
| |
Change-Id: I25708df616fe53d709b80c65ddecbdddef303124
|
|
|
|
|
|
| |
* Forward port the cm-12.1 code
Change-Id: I77373a236108507b8fa76cc8d3016de36aade301
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We override some h/w decoders in video configure
since we know some h/w decoder does not support
certain types of video. e.g. WMV7/8.
But we did not do that when application retrieving
video frame for thumbnail causing video frame retrieved
is corrupted.
Fix it by calling FFMPEGSoftCodec::overrideComponentName
when we retrieve a single video frame for thumbnail purpose.
Change-Id: I334698c331dfd3d49bb5d8b8e9c1fe381b304179
|
|
|
|
|
|
|
|
|
|
| |
Qcom hardware vc1 decoder cannot decode wmv1 (version7) correctly.
Currently it only skip wmv2 (version8) and force to use ffmpeg sw
decoder.
Change to use default decoder only if wmv version is equals to 9 (vc1)
Change-Id: Iadb0ecca252ee8a1dfb635ee44d1a88daa9c7a54
|
|
|
|
|
|
|
|
| |
Handled decoder configure call for encoder
component and vice-versa in fallback logic
CRs-Fixed: 891538
Change-Id: Ibb0d2da829a0e0f907ad8265836bac0466de1b4d
|
|
|
|
|
|
|
|
|
| |
Direct output is not selected for voip usecases as
AUDIO_OUTPUT_FLAG_VOIP_RX is not added to
sOutputFlagNameToEnumTable.
Add this flag to output flags list.
Change-Id: Ifccb78a7b8579da0a65eb3ea7347756c664246a8
|
|
|
|
|
|
|
|
|
| |
Legacy ALSA really hates floating point, and it's breaking
mic input when doing things like audio recording.
Use the old conversion routine for legacy ALSA.
Change-Id: I616f4cd42fa0e4d7595dd61ed2d36c4fa7052c53
|
|
|
|
|
|
|
| |
Port from L, add "OMX.ffmpeg." checking in additional
to "OMX.google." for software codec
Change-Id: I3ef70a965573d7c2818236a70d4f99b6b7873468
|
|\
| |
| |
| |
| |
| |
| |
| | |
https://android.googlesource.com/platform/frameworks/av into cm-13.0
Android 6.0.1 release 3
Change-Id: I2f2a1fe1b58c828e8341556996211562d6e195ab
|
| |
| |
| |
| |
| |
| |
| | |
IResourceManagerClient.
Bug: 25166048
Change-Id: I35f9917079c4b783a7cf4cef94b3c7112760c0b8
|
| |
| |
| |
| |
| |
| |
| | |
stopped.
Bug: 25088488
Change-Id: Id33d5d75f1173db52d00f4ff71d4c2c4f27f72f5
|
| |\
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
09c291c838 am: 313358c747 am: 92b6cd8da9 am: 7b5564e251 am: 000321c7ee
am: fd72a5b9e1
* commit 'fd72a5b9e1b7d36d8afb116b8e08c28ad444c188':
GenericSource: reset mDecryptHandle when mDataSource is cleared.
|
| | |\
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
09c291c838 am: 313358c747 am: 92b6cd8da9 am: 7b5564e251
am: 000321c7ee
* commit '000321c7ee8c2a0e489d41b9a5f8bad93bdd89b2':
GenericSource: reset mDecryptHandle when mDataSource is cleared.
|
| | | |\
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
09c291c838 am: 313358c747 am: 92b6cd8da9
am: 7b5564e251
* commit '7b5564e251680275d810b5c34b5d9a3caebff0fb':
GenericSource: reset mDecryptHandle when mDataSource is cleared.
|
| | | | |\
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
09c291c838 am: 313358c747
am: 92b6cd8da9
* commit '92b6cd8da9052e17710945604cd45098ebfb25e0':
GenericSource: reset mDecryptHandle when mDataSource is cleared.
|
| | | | | |\
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
am: 313358c747
* commit '313358c747b54bbdcbff97636546e0304f6f4947':
GenericSource: reset mDecryptHandle when mDataSource is cleared.
|
| | | | | | |\
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
am: 09c291c838
* commit '09c291c838bc74bb7c10c22f7232abb946cad8ff':
GenericSource: reset mDecryptHandle when mDataSource is cleared.
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Bug: 25070434
Change-Id: Ib0eb6a419683a0e686a4f63b82e9300cb1f69484
(cherry picked from commit cdc9cf656a8e43875234cb021fffeb4792d7c74e)
|
| |\ \ \ \ \ \ \ |
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Underlying bug 25195759 is not yet fixed.
Bug: 24263351
Change-Id: I04b644246640054d38c8de79e0eb80fcbfef0e48
|
| |\ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
stopped." into mnc-dr-dev
|
| | |/ / / / / / /
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Bug: 25088488
Change-Id: I63e69886a8e9cffcaad675ca1a5642c0abf3b466
|
| |\ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
into mnc-dr-dev
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Bug: 25070434
Change-Id: Ib0eb6a419683a0e686a4f63b82e9300cb1f69484
|
| |\ \ \ \ \ \ \ \ \
| | |/ / / / / / / /
| |/| | | | | | | | |
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Bug: 25172843
Change-Id: Ibbfe4369176f2a367eab5a39fd742f425b017288
|
| |\ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
into mnc-dr-dev
|
| | | |/ / / / / / /
| | |/| | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
This change prevents a crash in the camera service when the camera
HAL notifies the service about the absence of a removable camera and
there happens to be no client connected to the service. It checks
that the pointer returned from clientToDisconnect.get() is non-null
before trying to dereference it (as is done in existing code
immediately below this change).
Bug: 25165323
Change-Id: I8055654bac980542e63ea7f52bf897eaafbc09bc
Signed-off-by: Tom Keel <thomas.keel@intel.com>
|
| |\ \ \ \ \ \ \ \ \
| | | |_|/ / / / / /
| | |/| | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
224858e719 am: 69c8e36da7 am: 3fcddfd23a am: e01ba47052 am: adadada4f0
am: ddb3d77dad
* commit 'ddb3d77dad1766708fdb18cc48e60a663ee8e2e1':
GenericSource: reset mDrmManagerClient when mDataSource is cleared.
|
| | |\ \ \ \ \ \ \ \
| | | | |_|/ / / / /
| | | |/| | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
224858e719 am: 69c8e36da7 am: 3fcddfd23a am: e01ba47052
am: adadada4f0
* commit 'adadada4f00eaf44bbc616be7a7d30010750560e':
GenericSource: reset mDrmManagerClient when mDataSource is cleared.
|
| | | |\ \ \ \ \ \ \
| | | | | |_|/ / / /
| | | | |/| | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
224858e719 am: 69c8e36da7 am: 3fcddfd23a
am: e01ba47052
* commit 'e01ba470525155c1c36e53d242a12a778069a5bc':
GenericSource: reset mDrmManagerClient when mDataSource is cleared.
|
| | | | |\ \ \ \ \ \
| | | | | | |_|/ / /
| | | | | |/| | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
224858e719 am: 69c8e36da7
am: 3fcddfd23a
* commit '3fcddfd23adc88116c8fe5ea593626bfce0b75bd':
GenericSource: reset mDrmManagerClient when mDataSource is cleared.
|
| | | | | |\ \ \ \ \
| | | | | | | |_|/ /
| | | | | | |/| | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
224858e719
am: 69c8e36da7
* commit '69c8e36da7137730f4789a0d27d983b40d1f2917':
GenericSource: reset mDrmManagerClient when mDataSource is cleared.
|
| | | | | | |\ \ \ \
| | | | | | | | |_|/
| | | | | | | |/| |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
am: 224858e719
* commit '224858e719d045c8554856b12c4ab73d2375cf33':
GenericSource: reset mDrmManagerClient when mDataSource is cleared.
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Bug: 25070434
Change-Id: Iade3472c496ac42456e42db35e402f7b66416f5b
(cherry picked from commit b41fd0d4929f0a89811bafcc4fd944b128f00ce2)
|
| |\ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
into mnc-dr-dev
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Bug: 25070434
Change-Id: Iade3472c496ac42456e42db35e402f7b66416f5b
|