Thanks Samuel. Though if seems like when this API is called again it
immediately stops playing the current ringtone and starts it again
from the beginning. So my thinking is it maybe still possible to play
a long ringtone. When it is time to stop the ringtone then we can
simply call this function again with a short silent CAF file. What do
you think?
On Apr 28, 8:39 am, Samuel Vinson <
samuelv0...@gmail.com> wrote:
> It's logic, because it's impossible to stop sounds play with
> AudioServicesPlayAlertSound.
> To repeat the sound there are a timer with 4 seconds of delay.
> You listen the end of the ringtone because we can't try to re-play the
> sound.
>
> Maybe you find a solution to stop sound ;-)
>
> Samuel
>
> 2010/4/27 rukiman <
ruksh...@optushome.com.au>
>
>
>
>
>
> > I converted a 20 seconds wav file to caf and it now plays when an
> > incoming call comes in. However only the first 3 seconds or so are
> > played over and over again. When the other party hangs up, the
> > incoming call popup goes away and returns to the dialer and then the
> > rest of the ringtone continues to play.
>
> > Any pointers to what I need to do to get my whole ringtone played
> > instead of just the first 3 seconds?
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Siphon" group.
> > To post to this group, send email to
sip...@googlegroups.com.
> > To unsubscribe from this group, send email to
> >
siphon+un...@googlegroups.com<
siphon%2Bunsu...@googlegroups.com>
> > .
> For more options, visit this group athttp://
groups.google.com/group/siphon?hl=en.