Re: InstrumentCount
Re: InstrumentCount
- Subject: Re: InstrumentCount
- From: "Daniel Jalkut" <email@hidden>
- Date: Tue, 10 Jun 2003 12:17:02 -0700
Hi Robert. One thing I noticed recently is that instrument count doesn't
work as expected until the MusicDevice has been "Initialized." Also, if
you're asking for properties of a Component instead of a ComponentInstance
(returned by OpenAComponent), you will get an error (not sure if it's this
one).
Good luck,
Daniel
----- Original Message -----
From: "Robert Grant" <email@hidden>
To: "CoreAudio API" <email@hidden>
Sent: Tuesday, June 10, 2003 10:35 AM
Subject: InstrumentCount
>
> I'm working on a new project and having trouble with a basic Music
>
> Device property: kMusicDeviceProperty_InstrumentNumber
>
>
>
> The Music Device is loaded up properly but the only device that is
>
> returning a status of 0 for this the DLSSynth and the correct number
>
> of instruments.
>
>
>
> Both Zoyd and Crystal are giving me an invalid property error: -10879
>
>
>
> The weird thing is that I'm getting this property OK from Rax!
>
>
>
> I can't see what the difference is so I'm hoping someone might have a
>
> clue :-)
>
>
>
> Bit of background: I'm creating the synths in a subgraph that's
>
> attached to an already running graph. This is different from Rax...
>
>
>
> Robert.
>
_______________________________________________
>
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.
_______________________________________________
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.