de7c7da8460de9fb1e8739978f25e1463e2e1666 |
|
26-Oct-2011 |
Steve Block <steveblock@google.com> |
Rename LOGV(_IF) to ALOGV(_IF) DO NOT MERGE See https://android-git.corp.google.com/g/#/c/143865 Bug: 5449033 Change-Id: I4c0e3dc9da0a0cdf9aef8be4fae7b24da876dc17
/frameworks/wilhelm/tests/automated/BufferQueue_test.cpp
|
c6853892c94800e72c0bd676d5d2136d48cea76e |
|
19-Jul-2011 |
Glenn Kasten <gkasten@google.com> |
Use the documented header filenames Both Khronos and we say to use < > in our docs Change-Id: Ibf1d2b83036582a605aa6b9043210c89a4eb0e1e
/frameworks/wilhelm/tests/automated/BufferQueue_test.cpp
|
58432eb9cea995c69b4f905e68b38c1b8216edeb |
|
13-Jun-2011 |
Glenn Kasten <gkasten@google.com> |
Better defaults and fix warnings Use better defaults for slesTestFeedback rxBufCount and channel count. Fix build warnings. Change-Id: Ieef4750cbc454029e61524cc8011a6c774088762
/frameworks/wilhelm/tests/automated/BufferQueue_test.cpp
|
be2218961ac506ba9c2be0dddb2f74debd283bb8 |
|
05-Jan-2011 |
Glenn Kasten <gkasten@google.com> |
OpenSLESUT.h is not (yet) a supported header so remove the symlink from the SLES/ directory Change-Id: I95e331ac3b94457fe4c1c063069995bc48a659b4
/frameworks/wilhelm/tests/automated/BufferQueue_test.cpp
|
7126c25d7c037e5086216cf540ecf40779c3585a |
|
13-Oct-2010 |
Glenn Kasten <gkasten@google.com> |
Bug 3102561 - Tests and examples only Note: the modifications in directory libopensles aid testing, but have no affect on production builds because they are related to tracing, which is is disabled by default. Update feedback test to be more reliable. Update slesTestPlayUri to exit on prefetch error. Clean up error and termination handling. Add comment to record test on how to use it. Reduce global symbol dependencies when trace is enabled. Split OpenSLESUT into two files: part that uses printf, and another part that doesn't. Add SL_RESULT_ prefix to result strings. slesutResultToString returns NULL for unknown value. Add multithread torture test. Compile stream test for non-Android as a no-op. Improve API test coverage. Enable assertion checks on test programs. Change-Id: I6b82026cfa19d2f08cda4c11137e0706e8ff4b8c
/frameworks/wilhelm/tests/automated/BufferQueue_test.cpp
|
104c000a6f36b871ca11e0394db1e5217f374caf |
|
06-Oct-2010 |
Glenn Kasten <gkasten@google.com> |
Interface testing and bug fixes Add some new tests, and fix the bugs they found. New and improved tests: Added output mix API test with focus on interfaces. Add mute solo and seek test cases to the automated buffer queue test. Buffer queue configuration test is now listenable: Buffer queue configuration test now generates a sequence of sine waves in order so that the listener can tell if each format is supported correctly. Bug fixes: Engine::Create... was not checking if the interface was available for a particular class. Fixing that bug showed some other bugs in the class/interface configuration tables. The effects interfaces is available on an output mix. The Volume interface is not available on an output mix. The Object interface can do GetInterface before realized. OutputMix interface is available on an OutputMix; needed by the demos/examples in back of book OutputMix::ReRoute fails if number of output device IDs is not 1. Improve interface checks on a buffer queue source. Don't allow mute solo interface on a mono buffer queue. The earlier code to check for seek interface on a buffer queue compared by address, which didn't work if application used a private copy of the GUID. Now compares using the MPH which will work in all cases. Buffer queue, effect send, and mute solo are explicit interfaces on audio player. slCreateEngine was not publishing the engine object. Miscellaneous cleanup: Removed the hard-coded fake device ID constants in OutputMix::ReRoute that were there just for testing. In Engine::Create..., log an error for all unsupported interfaces, not just the first one. Make hash generator build again: It turns out interfaces.c is needed, even though it duplicates OpenSLESUT.c. Restore from 1a6bb4f8e738c9387dc9629db294ea5de618a53c. Remove some redundant comments. Change-Id: Iddabe73e298b69a44f3b43ed224c918eb95961a1
/frameworks/wilhelm/tests/automated/BufferQueue_test.cpp
|
04c7354b8a9afcf2151c00c1dfbc64d0ba5d33cc |
|
24-Sep-2010 |
Glenn Kasten <gkasten@google.com> |
Fix problems found during testing Fix crash in android_audioPlayer_destroy if audio player is only partially constructed, e.g. when using a buffer queue source and the buffer count is invalid etc. Add temporary workaround to buffer queue automated test to be quieter if hardware volume control is not working. Make the record test less noisy on console. Change-Id: Ief255c3f5f3c94c990f589b2373686b2ac526dd3
/frameworks/wilhelm/tests/automated/BufferQueue_test.cpp
|
43ad61e9e61b332f7d9f2b991954fcac4c11d691 |
|
23-Sep-2010 |
Glenn Kasten <gkasten@google.com> |
Fix bug found by BufferQueue automated test Fix bug for destroying partially constructed audio player. Remove obsolete logging. Change-Id: Ib186153bf50ed1311c021d53711ec90d000bdee2
/frameworks/wilhelm/tests/automated/BufferQueue_test.cpp
|
d48ff338b8338c1e3e54e0f9dcd03567a0aa9de4 |
|
01-Sep-2010 |
Glenn Kasten <gkasten@google.com> |
Verify that no extant objects at engine shutdown Log the total count and ID numbers of any stragglers. Fix the order of steps in engine shutdown. Add more comments. Change-Id: I12b531bcd43c288f9988768193274bad6984748a
/frameworks/wilhelm/tests/automated/BufferQueue_test.cpp
|
b12deb54e78a45a8cfe380da7c047ec9ac3fe5d8 |
|
28-Aug-2010 |
Glenn Kasten <gkasten@google.com> |
Buffer queue automated test update Make it run on desktop as well as Android, so we can use desktop driver for comparison, and get test coverage using gcov. Use slesutResultToString for error reporting. Run each test case for all valid numbers of buffers. Change-Id: If7753a0e77f4a906a41eae90135e1bc84531f2fc
/frameworks/wilhelm/tests/automated/BufferQueue_test.cpp
|
4597a7427b697df31d0bbf4c2040806d0c27b6e0 |
|
26-Aug-2010 |
Glenn Kasten <gkasten@google.com> |
Fix bugs in BufferQueue automated test and related Fix test bugs: Clean up the player, mixer, and the engine (must be done in that order). Re-enable 2 more tests; all 9 tests pass now. Fix engine bugs: IObject now has a de-init hook, which cleans up condition variable and mutex. Run the de-initializers in reverse order so that IObject de-init hook is run last. Replace the dedicated mEngine.mShutdownCond by the shared IObject condition variable. Forgot to iniitalize mShtudownAck. Unlocking the object mutex during CEngine_Destroy was bogus. Miscellaneous logging and debugging improvements: Track the source code location of the most recent mutex unlock. Add more trace log options for detailed leave reasons. Improve performance of trace log when disabled. Turn on assert checking. Check return value of pthread_cond_destroy and pthread_mutex_destroy. Add comment. Line length 100. Change-Id: I23b7b495d439894b2fd31295a38cb73ef7b6be2e
/frameworks/wilhelm/tests/automated/BufferQueue_test.cpp
|
4c71179974933c5c36cbfc3e8227c8df63248d91 |
|
21-Aug-2010 |
Glenn Kasten <gkasten@google.com> |
Test reorganization Change-Id: I0fb84afd72fe6839773937fdaece3276bba1b952
/frameworks/wilhelm/tests/automated/BufferQueue_test.cpp
|