dumb audiounit question
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.