4e8fe8a60c3aa8085918f15f281e0979682aefdc |
|
13-Nov-2015 |
Paul McLean <pmclean@google.com> |
Fixed validation and translation for indexed channel masks The channel mask validation code had a number of built-in assumptions around positional masks. Most of these assumptions are invalid for indexed masks. The translation between OpenSLES channel masks and Android channel masks also needed reworking; this CL attempts to do it the right way by calling helper functions rather than setting bits directly. Bug: 23899736 Change-Id: I65b024b71e3267d2e9ca316ac74771e16462e134
/frameworks/wilhelm/src/data.c
|
680943a4c349712f641b7577e5b0a3fdf49e39d9 |
|
16-Dec-2015 |
Glenn Kasten <gkasten@google.com> |
Use FCC_2 and FCC_8 to highlight channel count assumptions Bug: 21656069 Change-Id: I82db40a77e6af507af4b02e732b99f61d02e51b8
/frameworks/wilhelm/src/data.c
|
84bbadf848f606ff28273baf26fc246cf967059a |
|
30-Jul-2015 |
Andy Hung <hunga@google.com> |
Update OpenSL ES for odd channel counts Bug: 22629234 Change-Id: I3effb86dc7418997e8b24bf8a11c757878c99693
/frameworks/wilhelm/src/data.c
|
4e384ca65e5fd3eabac0621bed98f937d8a263c5 |
|
10-Jun-2015 |
Glenn Kasten <gkasten@google.com> |
Merge "Check sample size in addition to container size" into mnc-dev
|
71065fbf12abafd4c2a0dc85c81f13b564ff69fb |
|
04-Jun-2015 |
Glenn Kasten <gkasten@google.com> |
Check sample size in addition to container size Also add comments and fix line length Change-Id: Iaac8ade2b53c3cc6951dc94413bbe996e1d5e925
/frameworks/wilhelm/src/data.c
|
ba0b2c989ecbbae4678903954a4629ef342e1089 |
|
09-Jun-2015 |
Glenn Kasten <gkasten@google.com> |
Add FCC_8 comments to indicate 8-channel assumptions Bug: 21656069 Change-Id: I411a5c83eec126bc6cda796bd4c9f842ed6ee762
/frameworks/wilhelm/src/data.c
|
ff25010cb77455a46357d6dd012631a2599d7bf4 |
|
04-Jun-2015 |
Glenn Kasten <gkasten@google.com> |
Start rewriting code that handles channel counts and masks Change-Id: I700d719ee59c595b020979ecae56eb64bf657cca
/frameworks/wilhelm/src/data.c
|
cc97dbea7dbe0726f097d235163f2085a1b21498 |
|
04-Jun-2015 |
Glenn Kasten <gkasten@google.com> |
Allow arbitrary sample rates that are within OpenSL ES range Bug: 15931230 Change-Id: I86292c28896b6fc445a6cf30d8e187679f18668e
/frameworks/wilhelm/src/data.c
|
0d4d82daff89115d5a6318c53f94f22fa36a862b |
|
04-Jun-2015 |
Glenn Kasten <gkasten@google.com> |
Compare raw pointers to NULL Change-Id: I2ab197f2f20ff22204e01d0e115f2aee2f5ef166
/frameworks/wilhelm/src/data.c
|
a9197774c6cc49e66fa2ff04887c4b30e65782d7 |
|
01-Dec-2014 |
Glenn Kasten <gkasten@google.com> |
Fix typo in channel mask comment Change-Id: I648051c7489ec631d02a675def91635f2ad86a53
/frameworks/wilhelm/src/data.c
|
e57c13397185f9ad0f162855e9a8ebeb0c94bfc4 |
|
24-May-2014 |
Andy Hung <hunga@google.com> |
Add float playback capability to OpenSL ES Add SLAndroidDataFormat_PCM_EX to match OpenSLES 1.1 header file, together with related SL_ANDROID_PCM_REPRESENTATION_* constants. Use slesTest_playbq as the test application. Change-Id: I04bcd170f5c517051a799bacf8f52da5f1353ad6
/frameworks/wilhelm/src/data.c
|
c323fec2a2639c0cf7463016d592d0eb0539657c |
|
24-May-2014 |
Andy Hung <hunga@google.com> |
Add 24 bit and 32 bit playback capability to OpenSL ES slesTest_playbq is the test application. Change-Id: Iaa453471d2e9ff4e6b11ac5c68690993179fea2b
/frameworks/wilhelm/src/data.c
|
bb74f23cd3dc877c7eaf4db2132f724d11aeeb8f |
|
15-May-2014 |
Paul McLean <pmclean@google.com> |
Initial Implementation of new NDK audio formats Support for 24-bit audio formats - Support for Quad, 5.1 and 7.1 multi-channel output Change-Id: I4e4f5d2915a43970ae01f552ba506591902aa070
/frameworks/wilhelm/src/data.c
|
779a533785a4b8d2521123bc3c0a035b93ba078d |
|
30-Sep-2011 |
Jean-Michel Trivi <jmtrivi@google.com> |
Fix bug 5374629 Can't create AudioPlayer playing from MP2TS ABQ An AudioPlayer playing audio coming from MP2TS data stored in an AndroidBufferQueue couldn't be created and realized anymore due to: - a regression that prevented an OutputMix to be used as the sink of an AudioPlayer that had an ABQ as a data source - a missing update when the Realize() method became fully locked on the object, android_audioPlayer_realize() was still trying to lock the already locked AudioPlayer. Both issues are covered by a CTS test. Also verify the SLSeekItf is not required when using an ABQ source. Change-Id: Ibb1b753dcce59b7cf23ba118e287349e00e7fff4
/frameworks/wilhelm/src/data.c
|
05c7b2d09d54b9260ff7f3f5e491f38d0097c406 |
|
21-Sep-2011 |
Glenn Kasten <gkasten@google.com> |
Bug 5369977 check required interface compatibility Use required not exposed in checkSourceSinkVsInterfacesCompatibility. Change-Id: Ib71826b989ddef2e87dd60bec0306ca2a4021fe3
/frameworks/wilhelm/src/data.c
|
20d9a1229c7647dd2c6f1bece715080ec6202eca |
|
31-Aug-2011 |
Glenn Kasten <gkasten@google.com> |
Bug 5244675 default channel mask based on count Change-Id: Ica0b1bd5a23d9bbc318003509e2463a588d9bd39
/frameworks/wilhelm/src/data.c
|
bb832e853d4afb11b0a3287b2eb0cad87696d631 |
|
27-Jul-2011 |
Jean-Michel Trivi <jmtrivi@google.com> |
AAC buffer decode to PCM buffer queue Implement AAC ADTS decode with buffers of compressed data being passed to the framework through an AndroidBufferQueue, and decoded PCM buffers being passed to the application through a BufferQueue (just like existing decode from URI/FD). Change-Id: Id992a44a5ca7e404088b929f2b0afe9ca1f85223
/frameworks/wilhelm/src/data.c
|
5793033ccaeb30cc4936497f64dfa2cfe2cc405f |
|
07-Jul-2011 |
Glenn Kasten <gkasten@google.com> |
Fix NPE when pDataLocator->mURI.URI is NULL Don't call strlen on a NULL pointer Change-Id: I632e71287695dc2762e56c1379be4108014107e2
/frameworks/wilhelm/src/data.c
|
7965455f86c21d6e1f788b284f5fc829e82ff2b5 |
|
14-Jun-2011 |
Glenn Kasten <gkasten@google.com> |
Bug 4606138 Change-Id: If4745ee39eeedf11388800cc30c26e4c4f8ddaa0
/frameworks/wilhelm/src/data.c
|
a8179ea15c4ff78db589d742b135649f0eda7ef2 |
|
13-Apr-2011 |
Glenn Kasten <gkasten@google.com> |
Fix build warnings caused by the 'long' change Change-Id: I34e74d723ae7fd829dd140614928d7880e669f03
/frameworks/wilhelm/src/data.c
|
39310fca2e30101fa6e5168da443581cc60c20bf |
|
16-Mar-2011 |
Glenn Kasten <gkasten@google.com> |
Bug 4099084 native window data locator Change-Id: I03cac7501c3f185a2f95395b140b52b695081c4b
/frameworks/wilhelm/src/data.c
|
ad1ab1d13a9b043202b9d5cdc1d8c4ef66cbbca8 |
|
05-Mar-2011 |
Glenn Kasten <gkasten@google.com> |
Bug 3329759 Surface texture as video sink XA_DATALOCATOR_NATIVEDISPLAY now allows either a Surface or SurfaceTexture together with a JNIEnv *. Miscellaneous fixes: - Clarify test button labels. - Line length 100. - Fix typos in XA_DATALOCATOR_ANDROIDFD and XA_DATALOCATOR_ANDROIDFD_USE_FILE_SIZE. Change-Id: I3f3c604dfda3cf66ef7d7adc8689564a83623b2f
/frameworks/wilhelm/src/data.c
|
d158d31a6bbb06426b71c3d097b7768bc3fb79a3 |
|
04-Mar-2011 |
Jean-Michel Trivi <jmtrivi@google.com> |
Bug 3329759 TS streaming over SLAndroidBufferQueueItf Modify the SLAndroidBufferQueueItf interface to offer a model where buffers of data can be queued along with commands (messages) when used for playback, or buffers of data can be received along with metadata (messages) changes: - new callback and enqueue functions in SLAndroidBufferQueueItf and XAAndroidBufferQueueItf. - definition of a new struct, AdvancedBufferHeader, for the buffers in the queue. - decoupling of the "buffer available to be filled" from SF and the call to the ABQ callback. Implemented in new file AndroidBufferQueueSource.cpp - source/sink checks and memory allocation when creating an AudioPlayer or MediaPlayer that uses SLAndroidBufferQueueItf, and verifying the data fed to the ABQ is declared as SL_CONTAINERTYPE_MPEG_TS - updated tests/native-media XA demo code, and tests/sandbox/streamSource to use the new interface. Change-Id: I48e44f346e718041d835fde51e349923fcc1f4b1
/frameworks/wilhelm/src/data.c
|
13837cf3f7be0eb8b1a9552bd99a89f98c987720 |
|
01-Feb-2011 |
Jean-Michel Trivi <jmtrivi@google.com> |
OpenSL ES: support decode to PCM buffer queue Created a new audio player class, APlayer, from which we derive subclasses to encapsulate OpenSL ES AudioPlayer implementations: - ASfPlayer derives from APlayer and encapsulates StageFright functionality for audio decoding to a buffer - ADecoder derives from ASfPlayer and encapsulates rendering the decoded audio data to a callback function. It interfaces with the OpenSL ES Buffer Queue interface to pass the decoded data back to an OpenSL ES application. For OpenSL ES, to support decoding to a Buffer Queue, we now allow an AudioPlayer to have its sink be a PCM buffer queue. Change-Id: I9aefeb0375a71f7ca770c5c62b4fb8faf59c9c23
/frameworks/wilhelm/src/data.c
|
bcc5c7225e3b7a1dbf2e9e830987f69167acf06f |
|
18-Jan-2011 |
Glenn Kasten <gkasten@google.com> |
Rename class__ to clazz, this to thiz The JNI naming conventions avoid conflict with C++ reserved words. Change-Id: I93ad6920bf78c0a02ac4b2650a29c9e11252f731
/frameworks/wilhelm/src/data.c
|
262059f71a68edc5e510427c63f5f1623d3672a8 |
|
12-Jan-2011 |
Glenn Kasten <gkasten@google.com> |
Directory re-organization Change-Id: I8e3f12a22e765d36ddefd87edf204735b25474f6
/frameworks/wilhelm/src/data.c
|