• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
RE: Setparameter problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Setparameter problem


  • Subject: RE: Setparameter problem
  • From: Pjotr kiwapta <email@hidden>
  • Date: Sat, 27 Sep 2008 17:05:14 +0200
  • Importance: Normal

Cynthia,

First of all thank you very much for your effort. I noticed that I didn't have a GetPropertyInfo and GetProperty function. So I added them, but it stil didn't work.

After a lot of trouble with XCode (all of a sudden I couldn't save a certain file anymore, so I had to create a whole new project :(  ) I found that I had make a mistake in the for loop of NewFactoryPresetSet. The presets now work too.

But my original problem still exists (Originally I thought it was the same problem with the factorypresets):

I have implemented an event handler (HandleProgramChange). This handler sets the value for one of my parameters. It works fine (the parameter is set), but the generic view isn't updated. The code I wrote is as follows:

OSStatus ExtIns::HandleProgramChange(	UInt8	inChannel,	UInt8 	inValue)
{
	int snd=(int)inValue;
	Globals()->SetParameter(kParameter_SndNumber, snd);
        return noErr;
}

What must I do to trigger/update the generic view?
_________________________________________________________________
Probeer Live Search: de zoekmachine van de makers van MSN!
http://www.live.com/?searchOnly=true _______________________________________________
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

  • Follow-Ups:
    • Re: Setparameter problem
      • From: William Stewart <email@hidden>
References: 
 >Setparameter problem (From: Pjotr kiwapta <email@hidden>)
 >Re: Setparameter problem (From: Cynthia Maxwell <email@hidden>)
 >RE: Setparameter problem (From: Pjotr kiwapta <email@hidden>)

  • Prev by Date: Re: AUEventListenerCreate / AUEventListenerAddEventType
  • Next by Date: Re: AUEventListenerCreate / AUEventListenerAddEventType
  • Previous by thread: RE: Setparameter problem
  • Next by thread: Re: Setparameter problem
  • Index(es):
    • Date
    • Thread