hi,
I'm trying to manipulate the speed (and pitch) of a sound while playing.
so i played around with iphone sdk's AudioUnit. downloaded iPhoneMultichannelMixerTest and tried to add an AUComponent to the graph (in this case a formatconverter). but i get (pretty soon) following error when building:
#import <AudioToolbox/AudioToolbox.h>
#import <AudioUnit/AudioUnit.h>
...
AUComponentDescription varispeed_desc(kAudioUnitType_FormatConverter,
kAudioUnitSubType_Varispeed, kAudioUnitManufacturer_Apple);
^^
error: 'kAudioUnitSubType_Varispeed' was not declared in this scope.
any ideas why? the documentation on this topic doesn't help me at all (just api doc isn't very helpful when having no clue about the concept behind). there are no examples on how to wire these effects together and manipulating there properties...so maybe i'm totally wrong, anyway any hint is great.
thx for help.