Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Simple code to use an effect
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Simple code to use an effect



on 18/2/02 1:02 PM, Jean-Philippe Leblanc wrote:

> Chris,
>
> Thanks for your reply. Actually, I am not a big fan of Java.
> <not_a_flame>Let's have Sun add a few things in there like unsigned
> types and templates and then I'll think about it.</not_a_flame> At any
> rate, if the code you release helps understanding the API then that would
> be great indeed. Any chance to get it yesterday? :-)

Consider it done:
/Developer/Examples/CoreAudio/Java...

> Actually, I checked if the sample effect plugin gets the sin wave. I
> didn't really put a sin wave in there for this test, just my birthdate in
> float (hehe). And yes, it gets it all right (with the some rounding error
> but that's ok.) Then it copies it to the outbuffer by a simple
> assignment, so that can't go wrong.
>
> Now I guess the connection is not linked to the input of the default
> output So I am back to the board trying to figure out why MakeConnection
> triggers the filter by way of defaultoutput, then nada on the output. Any
> light on this is sincerely appreciated.

So, You'd have to have the default ouptput connected to the reverb (on bus
0) which is connected to your unit (on bus 0 as well)... Or if you just want
to make sure the connection is working, then provide the input through the
callback just as the C code does

I'm not really sure what the dis-connection is:)

The Java code also shows you how to use an AUGraph to make these
connections, etc (and its an easy translate to the corresponding C APIs)

Bill

> TIA,
>
> JP
>
> ------------------------------------------------------------------------
>
> Send and receive Hotmail on your mobile device: Click Here
> _______________________________________________
> coreaudio-api mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/coreaudio-api
> Do not post admin requests to the list. They will be ignored.


mailto:email@hidden
tel: +1 408 974 4056
__________________________________________________________________________
"Thousands of years ago, cats were worshipped as gods. We have never
forgotten this."
__________________________________________________________________________
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Simple code to use an effect (From: "Jean-Philippe Leblanc" <email@hidden>)



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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.