Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AUListenerAddParameter



The NULL param was set in the sample project (Passthrough Audio Volume Control), but I have seen it in other people's code as well.

I did, however, find the problem.  Because I accidentally ommitted the 'break' in the second case statement, it was passing through to default, which returned an error saying invalid parameter.  I fixed that and the problem went away.

Of course, this wasn't before I changed my CocoaView to a new name (and the factory) and discovered just how many things I had to change all over the place for that to work.  But, it's all working now, so thank you VERY much for the suggestions!  The big learning hurdles are over, now the real meat of the code begins! :)

>We normally do not use NULL for the object param - that's probably  
>the problem. Try specifying self (obj-c), or this (c++)

>Bill

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/coreaudio-api/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.