Yes: Stop using the old C API for this and use the AVAudioEngine plus AVAudioSequencer APIs.
-DS > On Mar 14, 2019, at 7:44 AM, Dmitry Klochkov <[email protected]> wrote: > > AudioToolbox MusicPlayer API allows only to set a loop that is snapped to the > end of the MusicSequence. So there is no simple way to specify the > startTimestamp and endTimestamp, which is very frustrating by the way. > > Could someone recommend a workaround for this? > > Of course I could trim all the tracks whenever I set a loop but I am worried > about the performance consequences of this approach. > > Best wishes, > Dmitry > _______________________________________________ > 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]
