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

dumb audiounit question


  • Subject: dumb audiounit question
  • From: Marek Bereza <email@hidden>
  • Date: Mon, 19 May 2003 16:51:38 +0100

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.

  • Follow-Ups:
    • Re: dumb audiounit question
      • From: Bill Stewart <email@hidden>
  • Prev by Date: Re: LAM HELP HELP HELP (Repost) Midi server crashing
  • Next by Date: Re: 5.1 DVD playback
  • Previous by thread: hosting AudioUnit v2 from java
  • Next by thread: Re: dumb audiounit question
  • Index(es):
    • Date
    • Thread