Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Forth Mac > Re: CMF Framewo...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 7 of 7 Topic 134 of 159
Post > Topic >>

Re: CMF Framework Alert Meaning?

by Roelf Toxopeus <these3rt0only@[EMAIL PROTECTED] > Oct 6, 2006 at 07:00 PM

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?
 




 7 Posts in Topic:
CMF Framework Alert Meaning?
"Charles Turner"  2006-10-04 12:14:02 
Re: CMF Framework Alert Meaning?
Roelf Toxopeus <these3  2006-10-05 07:51:04 
Re: CMF Framework Alert Meaning?
ward@[EMAIL PROTECTED] (  2006-10-05 07:56:50 
Re: CMF Framework Alert Meaning?
"Charles Turner"  2006-10-05 02:27:11 
Re: CMF Framework Alert Meaning?
Roelf Toxopeus <these3  2006-10-05 12:45:46 
Re: CMF Framework Alert Meaning?
"Charles Turner"  2006-10-06 05:36:56 
Re: CMF Framework Alert Meaning?
Roelf Toxopeus <these3  2006-10-06 19:00:56 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Jul 25 16:48:10 CDT 2008.