History log of /frameworks/wilhelm/tests/sandbox/playbq.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
bf76782721537b71e404bd5c6350e91dfda74487 29-May-2015 Glenn Kasten <gkasten@google.com> Improvements to the playbq test

Fix bug for 8-bit and 24-bit transfer formats.
The FIFO buffer was created with the wrong frame size.
This bug was introduced by
commit 208a2dae4b1bc98de4282f08c5b5acad0d797eb0
Change-Id: Ia2ec117bb265e17ccded166a0e9809dba791c06b
Replace squeeze functions by similar from audio_utils.
Transfer format now defaults to that of the input file.
Add option '-16' to force 16-bit.
Add support for higher and arbitrary sample rates.
Add support for reading 24-bit input files.

Change-Id: Iede1f85f401bca11689a7397f33edad97e54a6f8
/frameworks/wilhelm/tests/sandbox/playbq.c
208a2dae4b1bc98de4282f08c5b5acad0d797eb0 07-Jan-2015 Glenn Kasten <gkasten@google.com> Use audio_utils fifo instead of MonoPipe in playbq

Change-Id: Ia2ec117bb265e17ccded166a0e9809dba791c06b
/frameworks/wilhelm/tests/sandbox/playbq.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/tests/sandbox/playbq.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/tests/sandbox/playbq.c
1dafaf975636480dd42c57ef2c3b806739325ef8 08-Mar-2014 Glenn Kasten <gkasten@google.com> Fix checkbuild

Change-Id: Ic05acbd53a8f0a2ded837c8999a5de51ccd6bb8a
/frameworks/wilhelm/tests/sandbox/playbq.c
3eaa329775fc522d8ea4acd4edc379eabf9ac332 12-Nov-2012 Glenn Kasten <gkasten@google.com> Fix build warnings

narrowing conversion of '-1' from 'int' to 'SLuint32 {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing]
converting to non-pointer type 'pthread_t {aka long int}' from NULL [-Wconversion-null]
warning: 'currentRate' may be used uninitialized in this function [-Wmaybe-uninitialized]

Change-Id: I066260cc216ff9f15c787f65e3d3efbda8f8ef35
/frameworks/wilhelm/tests/sandbox/playbq.c
ad6c970f500cf99dd1eb23b9f5b2360948db90e7 31-Oct-2012 Glenn Kasten <gkasten@google.com> Use libnbaio to avoid file I/O in audio callback

Bug: 7142834
Change-Id: I4f78f029ac6bfe27bea4dfe1f00812a2bdf8785d
/frameworks/wilhelm/tests/sandbox/playbq.c
56847632bc2fd39a8fff68fa1e883f06310c876a 31-Oct-2012 Glenn Kasten <gkasten@google.com> Use tinysndfile

Change-Id: I6f94fed488662a93e778ea64b8e4861dce528f26
/frameworks/wilhelm/tests/sandbox/playbq.c
f8d147df8f6dba1bb5bb0ea4c09795ee827569ca 06-Apr-2012 Glenn Kasten <gkasten@google.com> playbq's use of playback rate interface optional

The playback rate interface is not supported for fast tracks,
so to enable testing of fast tracks using playbq,
only request the playback rate interface if it is actually needed.

Change-Id: I15e512e1e853dccc752ad59c727bb0ed2d651162
/frameworks/wilhelm/tests/sandbox/playbq.c
701cf2a089c87ec5b8e5a953f637b250aee4a58a 05-Jan-2012 Glenn Kasten <gkasten@google.com> Minor improvements to test app

Continuous pitch bend.
Expand the help text for options.
Improve error recovery for invalid options.
Fix typo in error message.

Change-Id: I7724372a510cb3733d31feeaffb22fbfa13b328c
/frameworks/wilhelm/tests/sandbox/playbq.c
ebca1a420c4ada9eff2e82f0100abaea95b48f24 11-Aug-2011 Glenn Kasten <gkasten@google.com> Test playbq: 8-bit and big-endian byte ordering

Change-Id: Ic34f35226fee07945925cad8cfbc10c756092fee
/frameworks/wilhelm/tests/sandbox/playbq.c
9a6c9db763121c3b11765c6c8cf935983c0385bf 03-Aug-2011 Glenn Kasten <gkasten@google.com> Add playback rate to buffer queue test player

Change-Id: I831290c1d70bbd66031f609a63549801b7c7f57b
/frameworks/wilhelm/tests/sandbox/playbq.c
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/sandbox/playbq.c
0a058cc3d720cdf3f0f8222472a862258482f34f 18-Oct-2010 Glenn Kasten <gkasten@google.com> Bug 3102561 - Tests only

Make the multi-thread test more stressful, to crash more often.
New tests: playbq, srcsink, monkey.
In monkey, re-enable destroy at difficult times.
Add support for testing player insert reverb to the reverb test.
Note: building playbq is disabled by default because it needs libsndfile.

Change-Id: I592ea5f567bddc61174e7d41bc5b36ce32d2b6b8
/frameworks/wilhelm/tests/sandbox/playbq.c