Re: AUListenerAddParameter
Re: AUListenerAddParameter
- Subject: Re: AUListenerAddParameter
- From: Richard Burnett <email@hidden>
- Date: Fri, 16 Jun 2006 13:50:42 -0400
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:
This email sent to email@hidden