In article <1160138215.947135.108010@[EMAIL PROTECTED]
>,
"Charles Turner" <vze26m98@[EMAIL PROTECTED]
> wrote:
> Yes, this was exactly the problem. my inexperience, "C mindset" and
> coming back to this after too long away conspired against me...
>
> I am still hung on this however: (from AudioHardware.h)
>
> #define kAudioAggregateDeviceUIDKey "uid"
> #define kAudioAggregateDeviceNameKey "name"
> #define kAudioAggregateDeviceSubDeviceListKey "subdevices"
> #define kAudioAggregateDeviceMasterSubDeviceKey "master"
> #define kAudioAggregateDeviceIsPrivateKey "private"
>
> CMF seems to be complaining about the double quotes. Am I missing
> something about Mac Enums? Can I change them to single quotes, or
> should I examine the context in which they are used before I leap?
Ward is a much better help, I have not used the 'Mac Enums' extender,
sorry.
The 'enum' constants are 4 character constants in the form of 'abcd',
using single quotes.
In Forth: ascii dOut constant kAudioHardwarePropertyDefaultOutputDevice
The constant is the 4 character string itself.
Many or alll AudioAggregateDevice #defines are CFDictionary keys,
with double quotes. These are 0strings possibly converted to a CFString.
These are pointers to strings or whatever.
So changing quotes would not help. They mean different things.
Ward?


|