I am reading a AVURLAsset and init the reader with the following call
AVAssetReaderOutput *assetReaderOutput =
[AVAssetReaderAudioMixOutput
assetReaderAudioMixOutputWithAudioTracks:songAsset.tracks
audioSettings: nil];
The songAsset (AVURLAsset) is initialized with a MPMediaItems URLAsset property.
I get a crash from this on certain assets.
[AVAssetReaderAudioMixOutput initWithAudioTracks:audioSettings:] tracks must all have media type AVMediaTypeAudio'
Why exactly is this if the MPMediaItem is an audio asset and plays in itunes?