History log of /frameworks/ex/variablespeed/src/com/android/ex/variablespeed/SingleThreadedMediaPlayerProxy.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
8502b724a9fdc104e7b4a3aba1641e101b4c7be9 26-Feb-2014 Jay Shrauner <shrauner@google.com> Fix AudioEngine to allow re-initialization

Add AudioEngine::CompareAndSetEngine and change
VariableSpeed::initializeEngine to use this method so it only initializes
a new engine once rather than asserting on subsequent calls.

Change AudioEngine::DeleteEngine so it ignores repeated calls instead of
asserting. Add VariableSpeed::isReadyToPlay so callers can detect when
the audio library has been properly initialized.

Bug:11511992
Change-Id: I4517cb2ab4c186da43dffc7dbc2a9ad49000059f
/frameworks/ex/variablespeed/src/com/android/ex/variablespeed/SingleThreadedMediaPlayerProxy.java
dc442b4d99512bf7c41ee5ceae6c93a3c3568b57 31-Aug-2011 Flavio Lerda <flerda@google.com> Allows selecting the audio stream used for playback.

Adds setAudioStreamType() to the MediaPlayerProxy interface and
implements it in the variable speed player.

Bug: 5240848
Change-Id: I1bb9fdbee7aa6113c5d5d5a8000e9794800fad9f
/frameworks/ex/variablespeed/src/com/android/ex/variablespeed/SingleThreadedMediaPlayerProxy.java
b83ad73794088498d6d38cd3b4fc9311f505d051 15-Jul-2011 Hugo Hudson <hugohudson@google.com> Initial check-in of variable speed playback library.

Contains an implementation of time-domain audio scaler, for
pitch-invariant speed up and slow-down of audio.

Contains wrapper library using OpenSLES to pump audio from
encoded stream (mp3 file etc) through audio decoder then
through time scaler and out to media player.

This is written as a jni library with jni hooks to allow
driving of this from the Java side.

The other part of this cl is the Java wrapper. There is a
new interface MediaPlayerProxy, containing a subset of the
methods found on the MediaPlayer. The VariableSpeed class
provides a concrete implementation of this interface
adapting to the jni code.

Change-Id: I518d8bf703488628c00730241a08ebfb67588ca6
/frameworks/ex/variablespeed/src/com/android/ex/variablespeed/SingleThreadedMediaPlayerProxy.java