···11+/*
22+ File: AUResources.r
33+ Abstract: AUResources.r
44+ Version: 1.1
55+66+ Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple
77+ Inc. ("Apple") in consideration of your agreement to the following
88+ terms, and your use, installation, modification or redistribution of
99+ this Apple software constitutes acceptance of these terms. If you do
1010+ not agree with these terms, please do not use, install, modify or
1111+ redistribute this Apple software.
1212+1313+ In consideration of your agreement to abide by the following terms, and
1414+ subject to these terms, Apple grants you a personal, non-exclusive
1515+ license, under Apple's copyrights in this original Apple software (the
1616+ "Apple Software"), to use, reproduce, modify and redistribute the Apple
1717+ Software, with or without modifications, in source and/or binary forms;
1818+ provided that if you redistribute the Apple Software in its entirety and
1919+ without modifications, you must retain this notice and the following
2020+ text and disclaimers in all such redistributions of the Apple Software.
2121+ Neither the name, trademarks, service marks or logos of Apple Inc. may
2222+ be used to endorse or promote products derived from the Apple Software
2323+ without specific prior written permission from Apple. Except as
2424+ expressly stated in this notice, no other rights or licenses, express or
2525+ implied, are granted by Apple herein, including but not limited to any
2626+ patent rights that may be infringed by your derivative works or by other
2727+ works in which the Apple Software may be incorporated.
2828+2929+ The Apple Software is provided by Apple on an "AS IS" basis. APPLE
3030+ MAKES NO WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION
3131+ THE IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS
3232+ FOR A PARTICULAR PURPOSE, REGARDING THE APPLE SOFTWARE OR ITS USE AND
3333+ OPERATION ALONE OR IN COMBINATION WITH YOUR PRODUCTS.
3434+3535+ IN NO EVENT SHALL APPLE BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL
3636+ OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
3737+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
3838+ INTERRUPTION) ARISING IN ANY WAY OUT OF THE USE, REPRODUCTION,
3939+ MODIFICATION AND/OR DISTRIBUTION OF THE APPLE SOFTWARE, HOWEVER CAUSED
4040+ AND WHETHER UNDER THEORY OF CONTRACT, TORT (INCLUDING NEGLIGENCE),
4141+ STRICT LIABILITY OR OTHERWISE, EVEN IF APPLE HAS BEEN ADVISED OF THE
4242+ POSSIBILITY OF SUCH DAMAGE.
4343+4444+ Copyright (C) 2014 Apple Inc. All Rights Reserved.
4545+4646+*/
4747+/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4848+// AUResources.r
4949+//
5050+//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
5151+5252+/* sample macro definitions -- all of these symbols must be defined
5353+#define RES_ID kHALOutputResID
5454+#define COMP_TYPE kAudioUnitComponentType
5555+#define COMP_SUBTYPE kAudioUnitOutputSubType
5656+#define COMP_MANUF kAudioUnitAudioHardwareOutputSubSubType
5757+#define VERSION 0x00010000
5858+#define NAME "AudioHALOutput"
5959+#define DESCRIPTION "Audio hardware output AudioUnit"
6060+#define ENTRY_POINT "AUHALEntry"
6161+*/
6262+#define UseExtendedThingResource 1
6363+6464+#include <CoreServices/CoreServices.r>
6565+6666+// this is a define used to indicate that a component has no static data that would mean
6767+// that no more than one instance could be open at a time - never been true for AUs
6868+#ifndef cmpThreadSafeOnMac
6969+#define cmpThreadSafeOnMac 0x10000000
7070+#endif
7171+7272+//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
7373+7474+resource 'STR ' (RES_ID, purgeable) {
7575+ NAME
7676+};
7777+7878+resource 'STR ' (RES_ID + 1, purgeable) {
7979+ DESCRIPTION
8080+};
8181+8282+resource 'dlle' (RES_ID) {
8383+ ENTRY_POINT
8484+};
8585+8686+//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
8787+8888+resource 'thng' (RES_ID, NAME) {
8989+ COMP_TYPE,
9090+ COMP_SUBTYPE,
9191+ COMP_MANUF,
9292+ 0, 0, 0, 0, // no 68K
9393+ 'STR ', RES_ID,
9494+ 'STR ', RES_ID + 1,
9595+ 0, 0, /* icon */
9696+ VERSION,
9797+ componentHasMultiplePlatforms | componentDoAutoVersion,
9898+ 0,
9999+ {
100100+ #if defined(ppc_YES)
101101+ cmpThreadSafeOnMac,
102102+ 'dlle', RES_ID, platformPowerPCNativeEntryPoint
103103+ #define NeedLeadingComma 1
104104+ #endif
105105+ #if defined(ppc64_YES)
106106+ #if defined(NeedLeadingComma)
107107+ ,
108108+ #endif
109109+ cmpThreadSafeOnMac,
110110+ 'dlle', RES_ID, platformPowerPC64NativeEntryPoint
111111+ #define NeedLeadingComma 1
112112+ #endif
113113+ #if defined(i386_YES)
114114+ #if defined(NeedLeadingComma)
115115+ ,
116116+ #endif
117117+ cmpThreadSafeOnMac,
118118+ 'dlle', RES_ID, platformIA32NativeEntryPoint
119119+ #define NeedLeadingComma 1
120120+ #endif
121121+ #if defined(x86_64_YES)
122122+ #if defined(NeedLeadingComma)
123123+ ,
124124+ #endif
125125+ cmpThreadSafeOnMac,
126126+ 'dlle', RES_ID, 8
127127+ #define NeedLeadingComma 1
128128+ #endif
129129+ }
130130+};
131131+132132+#undef RES_ID
133133+#undef COMP_TYPE
134134+#undef COMP_SUBTYPE
135135+#undef COMP_MANUF
136136+#undef VERSION
137137+#undef NAME
138138+#undef DESCRIPTION
139139+#undef ENTRY_POINT
140140+#undef NeedLeadingComma