• 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: Tue, 7 Oct 2008 22:09:06 +0200
  • Importance: Normal

William,

Thank you for your response, but I just solved the problem. It appeared that my proces was too busy, so the view didn't get any time to update. I had created a proces function instead of making use of the event handlers. Once I corrected this, the parameters are updated in the view too.

Anyway, thank you for your response
Peter
----------------------------------------
> CC: email@hidden; email@hidden
> From: email@hidden
> To: email@hidden
> Subject: Re: Setparameter problem
> Date: Mon, 29 Sep 2008 12:18:17 -0700
>
> Do you want the value of this parameter to always change in response
> to this property changing, or just from when your view is manipulating
> something?
>
> On Sep 27, 2008, at 8:05 AM, Pjotr kiwapta wrote:
>
>>
>> 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
>

_________________________________________________________________
De leukste online filmpjes vind je op MSN Video!
http://video.msn.com/video.aspx?mkt=nl-nl _______________________________________________
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

  • Prev by Date: Re: IOProc and AudioStreams
  • Next by Date: how can I open an Audio Queue from an MP3 managed by iPod application running on an iPhone
  • Previous by thread: Re: AU with side chain in DP6
  • Next by thread: how can I open an Audio Queue from an MP3 managed by iPod application running on an iPhone
  • Index(es):
    • Date
    • Thread