1 #include <bindings.dsl.h>
2 #include <CoreServices/CoreServices.h>
4 module Bindings.CoreServices.CarbonCore.AIFF where
6 import Bindings.CoreServices.CarbonCore.MacTypes
18 #num ApplicationSpecificID
27 #num ForwardBackwardLooping
31 #globalarray NoneName , CUChar
32 #globalarray ACE2to1Name , CUChar
33 #globalarray ACE8to3Name , CUChar
34 #globalarray MACE3to1Name, CUChar
35 #globalarray MACE6to1Name, CUChar
44 #integral_t MarkerIdType
46 #starttype struct ChunkHeader
48 # field ckSize, <SInt16>
51 #starttype struct ContainerChunk
53 # field ckSize , <SInt32>
54 # field formType, <ID>
57 #starttype struct FormatVersionChunk
59 # field ckSize , <SInt32>
60 # field timestamp, <UInt32>
62 #synonym_t FormatVersionChunkPtr, Ptr <FormatVersionChunk>
64 #starttype struct CommonChunk
66 # field ckSize , <SInt32>
67 # field numChannels , <SInt16>
68 # field numSampleFrames, <UInt32>
69 # field sampleSize , <SInt16>
70 # field sampleRate , <extended80>
72 #synonym_t CommonChunkPtr, Ptr <CommonChunk>
74 #starttype struct ExtCommonChunk
76 # field ckSize , <SInt32>
77 # field numChannels , <SInt16>
78 # field numSampleFrames, <UInt32>
79 # field sampleSize , <SInt16>
80 # field sampleRate , <extended80>
81 # field compressionType, <ID>
82 # flexible_array_member compressionName, CChar
84 #synonym_t ExtCommonChunkPtr, Ptr <ExtCommonChunk>
86 #starttype struct SoundDataChunk
88 # field ckSize , <SInt32>
89 # field offset , <UInt32>
90 # field blockSize, <UInt32>
92 #synonym_t SoundDataChunkPtr, Ptr <SoundDataChunk>
94 #starttype struct Marker
95 # field id , <MarkerIdType>
96 # field position , <UInt32>
97 # field markerName, <Str255>
100 #starttype struct MarkerChunk
102 # field ckSize , <SInt32>
103 # field numMarkers, <UInt16>
104 # flexible_array_member Markers, <Marker>
106 #synonym_t MarkerChunkPtr, Ptr <MarkerChunk>
108 #starttype struct AIFFLoop
109 # field playMode , <SInt16>
110 # field beginLoop, <MarkerIdType>
111 # field endLoop , <MarkerIdType>
114 #starttype struct InstrumentChunk
116 # field ckSize , <SInt32>
117 # field baseFrequency, <UInt8>
118 # field detune , <UInt8>
119 # field lowFrequency , <UInt8>
120 # field highFrequency, <UInt8>
121 # field lowVelocity , <UInt8>
122 # field highVelocity , <UInt8>
123 # field gain , <SInt16>
124 # field sustainLoop , <AIFFLoop>
125 # field releaseLoop , <AIFFLoop>
127 #synonym_t InstrumentChunkPtr, Ptr <InstrumentChunk>
129 #starttype struct MIDIDataChunk
131 # field ckSize, <SInt32>
132 # flexible_array_member MIDIdata, <UInt8>
134 #synonym_t MIDIDataChunkPtr, Ptr <MIDIDataChunk>
136 #starttype struct AudioRecordingChunk
138 # field ckSize, <SInt32>
139 # array_field AESChannelStatus, <UInt8>
141 #synonym_t AudioRecordingChunkPtr, Ptr <AudioRecordingChunk>
143 #starttype struct ApplicationSpecificChunk
145 # field ckSize, <SInt32>
146 # field applicationSignature, <OSType>
147 # flexible_array_member data, <UInt8>
149 #synonym_t ApplicationSpecificChunkPtr, Ptr <ApplicationSpecificChunk>
151 #starttype struct Comment
152 # field timeStamp, <UInt32>
153 # field marker , <MarkerIdType>
154 # field count , <UInt16>
155 # flexible_array_member text, CChar
158 #starttype struct CommentsChunk
160 # field ckSize, <SInt32>
161 # field numComments, <UInt16>
162 # flexible_array_member comments, <Comment>
164 #synonym_t CommentsChunkPtr, Ptr <CommentsChunk>
166 #starttype struct TextChunk
168 # field ckSize, <SInt32>
169 # flexible_array_member text, CChar
171 #synonym_t TextChunkPtr, Ptr <TextChunk>