Re: InstrumentCount
Re: InstrumentCount
- Subject: Re: InstrumentCount
- From: Robert Grant <email@hidden>
- Date: Tue, 10 Jun 2003 15:09:26 -0400
OK - it's getting weirder....
Zoyd and Crystal are returning their "instruments" as Factory Presets,
while DLSSynth is returning them via the Instrument property.
So is there some inconsistency here? I though Music Devices were
supposed to use the Instrument property whereas effects etc. use the
Presets.
The problem I've got is that this means I cannot deal with Music
Devices uniformly. (I've already got to do the DLS Synth shuffle to get
rid of the "infernal" reverb...;-)
What's the beef? What's still freaking me out is that I can't find any
code in Rax that handles this disparity - yet it handles it - which
makes me think I've cocked something up somewhere :-)
Robert.
On Tuesday, June 10, 2003, at 01:35 PM, Robert Grant wrote:
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.