Be careful when you try to use one of the built-in midi sounds.

I just found out by RTFS (reading the source) that SndCreateMidiList()
*sorts* the returned list of midi sounds alphabetically by name. This is not
documented and IMHO not really appropriate for an OS system function.
Sorting alphabetically is a typical UI feature and should be handled by the
application.
The current implementation effectively renders the function useless for
retrieving a certain system sound, because the names and hence the returned
list order are different in localized ROMs. 

Is there any other way to retrieve a certain system midi sound (e.g. the
"Concerto" sound)? The unique record IDs are not reliable...

Regards,
Andreas

Reply via email to