Core audio component types
A core audio audio unit needs to define it's type in AudioComponentDescription and the audio extension info.plist.
I keep forgetting where all the constants and character codes can be found so I am documenting them here.
tl;dr;
It's all here
https://developer.apple.com/documentation/audiotoolbox/1584142-audio_unit_types?language=objc
https://developer.apple.com/documentation/audiotoolbox/audiocomponentdescription/1410478-componenttype?language=objc
Table of component type codes
| AudioComponentDescription constant | info.plist code | Notes |
|---|---|---|
| kAudioUnitType_Output | auou | |
| kAudioUnitType_MusicDevice | aumu | Software instrument |
| kAudioUnitType_MusicEffect | aumf | I think this one can receive midi |
| kAudioUnitType_Effect | aufx | |
| kAudioUnitType_FormatConverter | aufc | |
| kAudioUnitType_Mixer | aumx | |
| kAudioUnitType_Panner | aupn | |
| kAudioUnitType_OfflineEffect | auol | |
| kAudioUnitType_Generator | augn | |
| kAudioUnitType_MIDIProcessor | aumi |
Future me, you're welcome.