Re: [android-porting] AudioPlayer class

2010-07-28 Thread Lakshman
Hello, There are two interfaces, MediaPlayerInterface and MediaPlayerHWInterface.both are derived from MediaPlayerBase class. If you wanna use AudioFlinger software mixer than you have to use MediaPlayerInterface(As per google, don't have much knowledge on mixer front). In setDataSource

Re: [android-porting] AudioPlayer class

2010-07-28 Thread Daniel Charles
Hi, On Wed, Jul 28, 2010 at 7:49 AM, Lakshman lakshma...@gmail.com wrote: Hello, There are two interfaces, MediaPlayerInterface and  MediaPlayerHWInterface.both are derived from MediaPlayerBase class. If you wanna use AudioFlinger software mixer than you have to use 

Re: [android-porting] AudioPlayer class

2010-07-28 Thread Lakshman
Please find my comments inlined... Thanks and regards, -Lakshman On Thu, Jul 29, 2010 at 12:19 AM, Daniel Charles dcharl...@gmail.comwrote: Hi, On Wed, Jul 28, 2010 at 7:49 AM, Lakshman lakshma...@gmail.com wrote: Hello, There are two interfaces, MediaPlayerInterface and

Re: [android-porting] AudioPlayer class

2010-07-28 Thread Daniel Charles
Hi Lakshman, ... On Wed, Jul 28, 2010 at 10:48 AM, Lakshman lakshma...@gmail.com wrote: Please find my comments inlined... Thanks and regards, -Lakshman ... Although, I'm not sure this is the correct way to handle this as I would want to push this change to gerrit.  I'm also wondering

[android-porting] AudioPlayer class

2010-07-27 Thread Daniel Charles
Hi all, I'm interested on learning the difference between using AudioTrack and AudioSink within Stagefreight's AudioPlayer class. I have seen that inside AudioPlayer AudioTrack is used as long as AudioSink was not created. AudioSink gets created only when MediaPlayerService creates a player and