I\'ve been trying to implement Audio Unit Graph using Apple provided code: IphoneMixerEQGraphTest. So far I have encountered two problems:
1.) I can\'t find any way
AVAudioPlayer is a huge class, You can easily get duration from:
Float64 fileDuration = PrepareFileAU (fileAU, fileFormat, audioFile);
see ADC sample at:
http://developer.apple.com/library/mac/#samplecode/PlayFile/Introduction/Intro.html
avoiding including other frameworks.