• Jean-Michel Trivi's avatar
    Move support for SL URI and FD playback under GenericPlayer class · 4ee246c5
    Jean-Michel Trivi authored
    The SfPlayer class was implementing URI and FD decode and playback
     in the application process. This CL removes this class entirely
     and moves its functionality under the GenericPlayer class. This
     means that the playback of URIs and FDs is now implemented through
     an android::MediaPlayer object running in the media service.
    
    The SfPlayer header had many StageFright and system includes, which
     are now moved to the relevant files where they are required,
     instead of automagically coming from sles_allinclusive.h.
    
    Note that this CL breaks support for the following OpenSL ES features
    due to missing Android MediaPlayer features:
     SLPlayItf.GetPosition
               HEADATMARKER
               HEADATNEWPOSITION
     SLVolumeItf.EnableStereoPosition
               SetStereoPosition
     SLMuteSoloItf
     SLPlaybackRateItf
    
     Support for those features will be reintegrated in subsequent CLs.
    
    Change-Id: I8d7f6ea006eb7b876ef1ca1909d74b4517335850
    4ee246c5
android_AudioToCbRenderer.cpp 3.7 KB