- 31 Jul, 2010 1 commit
-
-
Glenn Kasten authored
Change-Id: Ie1b1eaa93819bede1e024b1930de86c0b9772138
-
- 30 Jul, 2010 1 commit
-
-
Glenn Kasten authored
Change-Id: If59517d83bbb6c3e985e72303e6503301d091dda
-
- 29 Jul, 2010 1 commit
-
-
Glenn Kasten authored
Change-Id: Id994888dc4be9cf9df44c3cf6222847d6422543b
-
- 28 Jul, 2010 8 commits
-
-
Glenn Kasten authored
-
Glenn Kasten authored
Change-Id: I20865784fe8f27c0ffbb814257283c5498acbec1
-
Jean-Michel Trivi authored
Change-Id: I2be55bd2993e8f441f56ec3c8792b07b0a014725
-
Jean-Michel Trivi authored
OpenSL ES. SLAndroidAudioEffectItf is an explicit interface, exposed on AudioPlayer Change-Id: I41f86fd64650db7b3cb2d220cdb043d2dcbbcc21
-
Glenn Kasten authored
Line length 100 Details on logging: fprintf stderr -> SL_LOGE fprintf stdout -> SL_LOGV printf -> SL_LOGV // fprintf stderr -> // SL_LOGE or LOGV depending // fprintf stdout -> // SL_LOGV // printf -> // SL_LOGV newline is appended by the LOG macro Change-Id: I5340249529784ec26cfdb2656fc30a2f4650cc11
-
Glenn Kasten authored
Change-Id: I65bb243dc983d869b958cb90e62621026882cd88
-
Glenn Kasten authored
Change-Id: Iaa36d08f313a29ad2914e7459448bf9418e8c6c8
-
Glenn Kasten authored
Change-Id: Ie76de7bb68f31688cf96cf3621fe4b812030e59e
-
- 27 Jul, 2010 5 commits
-
-
Glenn Kasten authored
Change-Id: I8809aa5db6a259a0eb308f0e926e1922f9c9ea16
-
Glenn Kasten authored
Change-Id: Ib5fbb2f877a02891c0cd8f55c0fa2a46a12adffb
-
Glenn Kasten authored
Move the link from audio player to associated output mix / track from the effect send interface up to the audio player class. Add some more comments. Line length 100. Change-Id: I4e2de5e673709e686f066d0bd852bac17996810f
-
Glenn Kasten authored
Fix build errors and warnings on other platforms. Change-Id: I0adf9fbabe274c7ebcc1c0b11d598b65feb3efc8
-
Jean-Michel Trivi authored
AudioRecorder to configure AudioRecord. - check, for Android only, that when creating an AudioRecorder, its data sink is a BufferQueue. - move all inline SL ES to Android conversions to a separate file. - in checkDataSink() function, take into account the type of the object whose sink is being inspected. Change-Id: Id452cf20a8a184904043aceaacbd70d835f68130
-
- 26 Jul, 2010 2 commits
-
-
Glenn Kasten authored
Change-Id: Ib8056ec7a4a167e6afdce7f020468381126c657e
-
Glenn Kasten authored
Add Doxygen-style comments and convert some existing comments to Doxygen style. Use typedef instead of struct as type name, e.g. rename struct Track to Track. Change-Id: I251476c68304c9734210fcc5fe01d89544345af2
-
- 23 Jul, 2010 5 commits
-
-
Jean-Michel Trivi authored
Change-Id: I5c3f5e34836a3c2e4ea560d7925e84b550dfb0bb
-
Glenn Kasten authored
-
Glenn Kasten authored
During creation of an audio player, record the associated output mix for later use by the EffectSend interface. Dummy prefetch level and MIDI duration for testing. Line length 100. Change-Id: Ic0a5a0539f902fbbe8b3d10288c08c6a2d150670
-
Jean-Michel Trivi authored
-
Jean-Michel Trivi authored
Change-Id: I8c23516cee834e05911f890a89671fb1acd4a8e4
-
- 22 Jul, 2010 2 commits
-
-
Glenn Kasten authored
Change-Id: Ibc800b5384adbaa45b9d7418bc8e7be6df8f5bb6
-
Glenn Kasten authored
Known problems on Android only (SDL is ok): High latency on first enqueue, or first after buffer underrun Play after stop does not resume the current buffer. Improvements: Implement BufferQueue::Clear for both Android and SDL. Play::SetPlayState to Stopped now works for SDL (not yet for Android), and sets play cursor to start of current buffer. Play::Pause and Play::Stop while playing now block until done for SDL. SDL now calls buffer queue callback after each buffer completion, instead of when mixer needs a buffer. Move SF_INFO sfinfo to CAudioPlayer so we always have good stuff like the sample rate etc. BufferQueue::Enqueue on a successful enqueue to a formerly empty queue now kicks off an attribute change followed by a synchronous call to a hook when first buffer enqueued. Currently unused but could be a way to reduce latency. Minor comment changes. Add interface_cond_broadcast. More logging of errors. Include source file and line number in logs. sles_to_android.cpp: needs code for #if 0 sections. Disable trace logging of BufferQueue::Enqueue and GetState. Fix printf warnings. Fix typo in number of interfaces requested at CreateAudioPlayer. Remove spurious printf and while loop. Line length 100. Add intermediate play states which need to be re-mapped. Fix printf format warnings. Re-organize the buffer queue initialization. Implement true seeking based on position for libsndfile. SndFile is working again, but just barely. Make it build on non-Android platforms. BufferQueue::RegisterCallback now checks for STOPPED play state. Include function name in trace logs. Enhance test to check buffer queue callbacks, get buffer queue state, get play state. Fix bug with Stop while Paused not resetting buffer pointer. Remove obsolete comments and #if 0. Set enqueue attribute is state is PLAYING and the first buffer is enqueued. Added slutPrintIIDs. Update comments. Fix build warnings. Fix compile error introduced by the merge. Fix runtime problems introduced during the merge. Address code review comments: - BufferQueue changes apply to AudioRecord also. - Rename to conform to new naming conventions. - Add comments. Fix build warning. Add interactive buffer queue test application. Change-Id: I5b00545a599fd9dba96efb834fca2369d149eaaa
-
- 21 Jul, 2010 2 commits
-
-
Jean-Michel Trivi authored
with what is used for AudioRecorder. Change-Id: I96ed88ff17a5fff12b2e17dd6cb84630cba8fad8
-
Jean-Michel Trivi authored
- add support for the AudioRecorder object in Android, not just for the conformance tests. - map the SL AudioRecorder object to the AudioRecord class. - only allow buffer queue data sinks. - more work required for the recording format, and input device selection. Change-Id: I4c65a8fa0ab162036f0eed4b756431f465325cd3
-
- 15 Jul, 2010 1 commit
-
-
Jean-Michel Trivi authored
EQ presets are stored in the engine because they need to be available during the duration of the application, not just during the life of the AudioPlayer that uses EQ. Change-Id: Ib55ce32b54a4dca134831a87bc5bd2ae8c111035
-
- 14 Jul, 2010 1 commit
-
-
Glenn Kasten authored
Add utility function to print an IID. checkDataFormat now prints a detailed log on invalid format. Use SL_LOGE and SL_LOGV for logging instead of fprintf, we can easily redirect to standard Android logging eventually. Add Doxygen-style comments. Log more specific error message on invalid data format. Use the full copyright header in one file. Change-Id: I2342e29f57e97c3b5d94cb219d00e767a75e93fa
-
- 13 Jul, 2010 1 commit
-
-
Glenn Kasten authored
Trace debug now uses Android logging by LOGV/LOGE. Added SL Utility Toolkit for OpenSL ES, similar to OpenAL UT. Add a -DUSE_TRACE instead of -DNDEBUG and add it commented out to Android.mk. LOGE for error returns, LOGV for all entry and exit. Rename debug.c to trace.c. slutPrintIID prints the symbolic name if known. Fix bug in slQueryNumSupportedEngineInterfaces and slQuerySupportedEngineInterfaces which were not skipping over unavailable interfaces. Use USE_CONFORMANCE to return SL_RESULT_FEATURE_UNSUPPORTED when not supported and make some interfaces unavailable depending on USE_CONFORMANCE. Move most FIXME to separate bug/to-do list. Fix possible intermediate overflow in duration computation for sndfile. Line length 100. Address code review comments, disable LOG.
-
- 09 Jul, 2010 7 commits
-
-
Glenn Kasten authored
Change-Id: If4e8ace08b3eee8c62c375a5b238fd1ed3665a06
-
Jean-Michel Trivi authored
request two interfaces (volume and prefetch) when creating the AudioPlayer. Change-Id: I97b18b68dac2ffacef9c709c3f1c2ee85081e07d
-
Glenn Kasten authored
sles.c:374: error: ‘for’ loop initial declaration used outside C99 mode sles.c:374: warning: comparison between signed and unsigned Change-Id: I344c928cb2b0302f0ed6daa74e7b7c530783c2f4
-
Glenn Kasten authored
-
Glenn Kasten authored
-
Glenn Kasten authored
Change-Id: I33ee829c3f963c5ca2495cfa08ac400c28bd1da2
-
Glenn Kasten authored
Change-Id: I8ced7479d29702455bf128337e24f1f4ef8aeb16
-
- 08 Jul, 2010 2 commits
-
-
Jean-Michel Trivi authored
beginning and end of a variable visibility bloc. Change-Id: I31c0fcd6dda36a4f77c1361ace79e27c97ca87fb
-
Yu Shan Emily Lau authored
Change-Id: Ib2750cd5ba9500d7030bf64fca99a3411bbaa74c
-
- 07 Jul, 2010 1 commit
-
-
Jean-Michel Trivi authored
Change-Id: I0894e79be80ded39f051c670c30ac380a74f9888
-