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 <[email protected]>

>
> 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 seamlessly loop at the exact sample boundary. OpenCore does not
> support seamless loops, we have to explicitly seek to the beginning of
> the file in loop mode. Thus any streams that are rendered by OpenCore
> (i.e. everything but Ogg and MIDI) will have gaps.
>
> On Jan 31, 1:01 am, Phill Midwinter <[email protected]> wrote:
> > That works perfectly, thanks for the help.
> >
> > Do you know why it works?
> >
> > 2009/1/31 Dave Sparks <[email protected]>
> >
> >
> >
> >
> >
> > > Use Ogg files, you can get a nice seamless loop. We use this for the
> > > ringtones.
> >
> > > On Jan 30, 10:30 am, "[email protected]"
> > > <[email protected]> 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 set to true, there's still an audible gap between the
> > > > file finishing and then starting again.
> >
> > > > How could I achieve true gapless playback? I've attempted using two
> > > > instances of the same file, overriding oncomplete and onseek.. can't
> > > > seem to improve the gap though. Any help appreciated.
> >
> > --
> > Phill Midwinter
> > Director
> > Grant Midwinter Limited
> > d: 0844 736 5234 x: 0
> > m: 07538 082156
> > e: [email protected]
> >
>


-- 
Phill Midwinter
Director
Grant Midwinter Limited
d: 0844 736 5234 x: 0
m: 07538 082156
e: [email protected]

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to