This is a known issue that will be fixed in an upcoming release.  It was not 
reported in time to be fixed in 9.0.

-DS

> On Aug 24, 2015, at 4:39 PM, Sam Tarakajian <[email protected]> wrote:
> 
> Hi,
> 
> I'm working on an app that uses MusicPlayer to play a looping MIDI track. 
> However, I've found that in the iOS 9 beta looping no longer seems to work.
> 
> I start by creating a very simple AUGraph, with just an AUSampler and a 
> remoteIO node in the graph. Then I create a MusicPlayer, a MusicSequence and 
> a MusicTrack. I set the length of the track to be 4, the loop length to 4 and 
> the number of loops to 0 (infinite looping). I add four midi note messages to 
> this track, all of duration 0.5, with timestamps 0, 1, 2 and 3.
> 
> When I start the music player, I hear the first three notes play correctly. 
> However, audio processing stalls before the final note, and calling 
> MusicPlayerGetTime on the music player returns a timestamp just before the 
> last note in the track.
> 
> Any idea what I might be doing wrong? The code works as expected (playing an 
> infinite loop) in iOS 8.4
> 
> https://gist.github.com/starakaj/cc1a68c9b13c08d98dd4 
> <https://gist.github.com/starakaj/cc1a68c9b13c08d98dd4> is basically what I'm 
> trying to do.
> 
> Thanks,
> -Sam
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Coreaudio-api mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/coreaudio-api/douglas_scott%40apple.com
> 
> This email sent to [email protected]

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/coreaudio-api/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to