• 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: 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


  • Subject: Re: Simple code to use an effect
  • From: Bill Stewart <email@hidden>
  • Date: Mon, 18 Feb 2002 15:49:08 -0800

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.

  • Follow-Ups:
    • Re: Simple code to use an effect
      • From: Laurent de Segur <email@hidden>
References: 
 >Re: Simple code to use an effect (From: "Jean-Philippe Leblanc" <email@hidden>)

  • Prev by Date: Re: coreaudio-api digest, Vol 2 #48 - 11 msgs
  • Next by Date: Re: Sound Manager & MIDI callbacks, interrupts and threads
  • Previous by thread: Re: Simple code to use an effect
  • Next by thread: Re: Simple code to use an effect
  • Index(es):
    • Date
    • Thread