• 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: What happens if AVMutableComposition is mutated during playback?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What happens if AVMutableComposition is mutated during playback?


  • Subject: Re: What happens if AVMutableComposition is mutated during playback?
  • From: James McCartney <email@hidden>
  • Date: Fri, 28 Jun 2013 10:39:10 -0700

Just FYI, APIs in AVFoundation have one of two origins: CoreAudio and CoreMedia.
The CoreAudio part includes AVAudioPlayer, AVAudioRecorder, AVAudioSession.
All of the rest with the exception of some shared constants enums and defines is CoreMedia.

On Jun 23, 2013, at 2:21 PM, Jens Alfke <email@hidden> wrote:

> I’m getting started with the AVFoundation API — revamping a half-finished multitrack audio app that used to use AudioUnits. I’m obviously leaning heavily on AVMutableComposition. One thing I’m unsure of, that I haven’t seen addressed in the docs, is whether it’s possible to modify the composition while it’s being played by an AVPlayer.
>
> For example, in my UI the user can grab an audio region and move it forwards or back in the timeline at any time. In API terms, I’d be creating a new array of AVCompositionTrackSegments and replacing the associated AUCompositionTrack’s segments property with them. What is the effect if the composition is being played? Will the playback update accordingly, or will there be no effect until I stop and restart the player?
>
> —Jens
> _______________________________________________
> 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

James McCartney
Apple CoreAudio
email@hidden




 _______________________________________________
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: 
 >What happens if AVMutableComposition is mutated during playback? (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: Will ObjC-based CoreAudio AudioSession API deprecate the C API?
  • Previous by thread: What happens if AVMutableComposition is mutated during playback?
  • Next by thread: Exampels or thorough documentation for seek properties in (plain) Audio File Services
  • Index(es):
    • Date
    • Thread