this repo has no description
1#ifndef AUDIOUNITPROPERTIES_H
2#define AUDIOUNITPROPERTIES_H
3
4enum {
5 kAudioOutputUnitProperty_CurrentDevice = 2000,
6 kAudioOutputUnitProperty_ChannelMap = 2002,
7 kAudioOutputUnitProperty_EnableIO = 2003,
8 kAudioOutputUnitProperty_StartTime = 2004,
9 kAudioOutputUnitProperty_SetInputCallback = 2005,
10 kAudioOutputUnitProperty_HasIO = 2006,
11 kAudioOutputUnitProperty_StartTimestampsAtZero = 2007
12};
13
14enum {
15 kAudioUnitScope_Global = 0,
16 kAudioUnitScope_Input = 1,
17 kAudioUnitScope_Output = 2,
18 kAudioUnitScope_Group = 3,
19 kAudioUnitScope_Part = 4,
20 kAudioUnitScope_Note = 5,
21 kAudioUnitScope_Layer = 6,
22 kAudioUnitScope_LayerItem = 7
23};
24
25enum
26{
27 kAudioUnitProperty_ClassInfo = 0,
28 kAudioUnitProperty_MakeConnection = 1,
29 kAudioUnitProperty_SampleRate = 2,
30 kAudioUnitProperty_ParameterList = 3,
31 kAudioUnitProperty_ParameterInfo = 4,
32 kAudioUnitProperty_CPULoad = 6,
33 kAudioUnitProperty_StreamFormat = 8,
34 kAudioUnitProperty_ElementCount = 11,
35 kAudioUnitProperty_Latency = 12,
36 kAudioUnitProperty_SupportedNumChannels = 13,
37 kAudioUnitProperty_MaximumFramesPerSlice = 14,
38 kAudioUnitProperty_ParameterValueStrings = 16,
39 kAudioUnitProperty_AudioChannelLayout = 19,
40 kAudioUnitProperty_TailTime = 20,
41 kAudioUnitProperty_BypassEffect = 21,
42 kAudioUnitProperty_LastRenderError = 22,
43 kAudioUnitProperty_SetRenderCallback = 23,
44 kAudioUnitProperty_FactoryPresets = 24,
45 kAudioUnitProperty_ContextName = 25,
46 kAudioUnitProperty_RenderQuality = 26,
47 kAudioUnitProperty_InPlaceProcessing = 29,
48 kAudioUnitProperty_ElementName = 30,
49 kAudioUnitProperty_SupportedChannelLayoutTags = 32,
50 kAudioUnitProperty_PresentPreset = 36,
51 kAudioUnitProperty_ShouldAllocateBuffer = 51,
52 kAudioUnitProperty_ParameterHistoryInfo = 53
53};
54
55struct AURenderCallbackStruct
56{
57 AURenderCallback inputProc;
58 void *inputProcRefCon;
59};
60typedef struct AURenderCallbackStruct AURenderCallbackStruct;
61
62struct AudioUnitConnection
63{
64 AudioUnit sourceAudioUnit;
65 UInt32 sourceOutputNumber;
66 UInt32 destInputNumber;
67};
68typedef struct AudioUnitConnection AudioUnitConnection;
69
70#endif
71