Re: DLS Synth Problems
Re: DLS Synth Problems
- Subject: Re: DLS Synth Problems
- From: Chris Rogers <email@hidden>
- Date: Wed, 2 Oct 2002 11:35:31 -0700
Somebody on this list has reported a bug where the dataSize reported
back from AudioUnitGetPropertyInfo() and AudioUnitGetProperty()
was smaller than the actual value written to memory, resulting in
a crash. I've already fixed this bug, but the work-around would
be to ignore the value returned back in dataSize and assume it's 256
(if dataSize is greater than 256 then use that value)
so:
realDataSize = max(dataSize, 256);
Hope this helps...
Chris Rogers
Core Audio
Apple Computer
Hi all,
I'm running into trouble when trying to retrieve instrument names
on the v2 DLS Synth. I get proper instrument count and
instrument IDs, but when I call
kMusicDeviceProperty_InstrumentName in the AudioUnitGetProperty
function, it either returns bad data or crashes. Is the string
length supposed to be returned in dataSize parameter?
Any suggestions? It seems like this used to work in 10.1x
software.
Thanks!
Pete Ware
Peak Audio
a division of Cirrus Logic, Inc.
1790 30th St. STE 414
Boulder, CO 80301
(303) 449-9337 X116
(303) 449-6141 FAX
email@hidden
_______________________________________________
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.