Re: Loop Audio on iPhone
Re: Loop Audio on iPhone
- Subject: Re: Loop Audio on iPhone
- From: Marco Papa <email@hidden>
- Date: Tue, 10 Feb 2009 12:28:29 -0800
Message: 1
Date: Mon, 9 Feb 2009 20:22:24 -0800
From: Marco Papa <email@hidden>
Subject: Loop Audio on iPhone
To: email@hidden
Message-ID:
<email@hidden">email@hidden>
Content-Type: text/plain; charset="iso-8859-1"
I have a number of short mp3 clips that have been built so they can can
seamlessly loop. How can I loop them on the iPhone so that there is no
apparent disconnect when the audio restarts at the beginning of the clip?
--
Marco Papa, Ph.D.
For everybody's benefit I will respond to my own e-mail. A fellow developer responded to me on the iPhone SDK Dev Forum. The AVAudiopPlayer class provides APIs and class properties to loop sounds multiple times or forever (until a stop API is called actually). Very, very easy to do with this class. I've seen other examples using Audio Queue Services that are way more complicated.
--- Marco
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden