• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: MusicPlayer in iOS9
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MusicPlayer in iOS9


  • Subject: Re: MusicPlayer in iOS9
  • From: Douglas Scott <email@hidden>
  • Date: Tue, 25 Aug 2015 10:32:45 -0700

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@hidden> 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 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@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >MusicPlayer in iOS9 (From: Sam Tarakajian <email@hidden>)

  • Prev by Date: MusicPlayer in iOS9
  • Next by Date: Logic 10.2
  • Previous by thread: MusicPlayer in iOS9
  • Next by thread: Logic 10.2
  • Index(es):
    • Date
    • Thread