• 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: dumb audiounit question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: dumb audiounit question


  • Subject: Re: dumb audiounit question
  • From: Bill Stewart <email@hidden>
  • Date: Mon, 19 May 2003 12:14:11 -0700

If you look in the SDK source I think there's an example of what is involved in this in the GenericView sources (The docs for the ComponentManager can also tell you how to treat these - these are handles not pointers for instance)

Bill

On Monday, May 19, 2003, at 08:51 AM, Marek Bereza wrote:

hello list,

I'm sorry if this is in the wrong place, but I'm stuck with trying to get the name and info fields out of an audiounit and onto the > terminal.

This is what I'm doing:

for(i = 0; i<numOfComponents;i++) {
// mCompDescs[] is a list of my audiounits
ComponentDescription cd = mCompDescs[i];

Component c = FindNextComponent(NULL, &cd);
char *name, *info;

err = GetComponentInfo(c, &cd, &name, &info, NULL);

if(err!=noErr) printf("error");

printf("%s: %s\n", (char*)name, (char*)info);
}

What I'm trying to get is my audiounits listed as "name : info\n" but it does something strange:

|\246\223\341\377\374\220: Envelope Filter.
|\246\223\341\377\374\220: Envelope Filter.
|\246\223\341\377\374\220: Envelope Filter.
|\246\223\341\377\374\220: Envelope Filter.

The first plugin's info field is "Envelope Filter"

I would be very greatful if anyone could help me with this. Thanks,

Marek
_______________________________________________
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

________________________________________________________________________ __
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
________________________________________________________________________ __
_______________________________________________
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: 
 >dumb audiounit question (From: Marek Bereza <email@hidden>)

  • Prev by Date: AudioConverter
  • Next by Date: Re: AudioConverter
  • Previous by thread: dumb audiounit question
  • Next by thread: VST Panner Surround BETA TEST
  • Index(es):
    • Date
    • Thread