[android-developers] Re: gapless playback

2012-10-05 Thread Truong Chanh Tran
Are you sure this fixes the problem? because it didn't make any difference to me. I stil see a slight pause using ogg files. I had to use a little hack with the timer task and timers to make it work. Although this creates other bugs which happens when the phone is in lock/standby mode. Is there

[android-developers] Re: gapless playback

2009-02-18 Thread julius
Thanks that worked for me too! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send

[android-developers] Re: gapless playback

2009-01-31 Thread Phill Midwinter
That works perfectly, thanks for the help. Do you know why it works? 2009/1/31 Dave Sparks davidspa...@android.com Use Ogg files, you can get a nice seamless loop. We use this for the ringtones. On Jan 30, 10:30 am, ph...@grantmidwinter.com ph...@grantmidwinter.com wrote: Hoya, When

[android-developers] Re: gapless playback

2009-01-31 Thread Dave Sparks
Yes, two reasons actually. One, because the Ogg spec allows for specifying the exact number of samples in the stream. MP3 does not have an official way to specify the number of samples (there are unofficial ways). Two, because the Ogg player has a native loop capability that allows us to

[android-developers] Re: gapless playback

2009-01-31 Thread Phill Midwinter
That's extremely useful, I've not looked at the format before, but I'll have to read up now. 2009/1/31 Dave Sparks davidspa...@android.com Yes, two reasons actually. One, because the Ogg spec allows for specifying the exact number of samples in the stream. MP3 does not have an official way

[android-developers] Re: gapless playback

2009-01-30 Thread Dave Sparks
Use Ogg files, you can get a nice seamless loop. We use this for the ringtones. On Jan 30, 10:30 am, ph...@grantmidwinter.com ph...@grantmidwinter.com wrote: Hoya, When using a mediaplayer to play back an audio file, you can set looping to true - that's not the issue here. If looping is