OpenMAX AL: consolidate MediaPlayer implementations under superclass

The OpenMAX AL MediaPlayer object has two implementations: one
 for playing from URI/FD (LocAVPlayer) and one for playing from
 AndroidBufferQueue (StreamPlayer). They both inherit from AVPlayer.
This CL makes LocAVPlayer and StreamPlayer inherit from
 GenericMediaPlayer (new name of AVPlayer) which encapsulates the
 interaction with an android::MediaPlayer instance running in
 the media server process.
Also it makes GenericMediaPlayer inherit from GenericPlayer, the
 player superclass also used in OpenSL ES.

After this CL, the OpenMAX AL and OpenSL ES have a common class
 hierarchy for their players.

Change-Id: I5f6e279fc29b7f6f26c9ed5c83a9455cfda88ff4
18 files changed
tree: 2c085a3e314ad08d56b115cd8492260ce93dd9ec
  1. doc/
  2. include/
  3. src/
  4. tests/
  5. tools/