Re: How to retrieve the internal name of a DLS/SF2 file?
Re: How to retrieve the internal name of a DLS/SF2 file?
- Subject: Re: How to retrieve the internal name of a DLS/SF2 file?
- From: Rolf Nilsson <email@hidden>
- Date: Wed, 8 Jan 2003 15:55:00 +0100
Thanks
Works fine.
Another thing:
After I have loaded a new soundfile with:
AudioUnitSetProperty(
synthUnit,
kMusicDeviceProperty_SoundBankFSSpec, kAudioUnitScope_Global,
0,
pFSSpec, sizeof (FSSpec)
);
how do I get back the default QuickTime synth?
I tried to load the "gs_instruments.dls" file in
/System/Library/Components/CoreAudio.component/Contents/Resources/
which works but I guess there must be an easier way to do it?
Thanks
Rolf Nilsson/Roni Music
>
>
Message: 4
>
Date: Tue, 7 Jan 2003 11:12:52 -0800
>
To: Rolf Nilsson <email@hidden>, email@hidden
>
From: Chris Rogers <email@hidden>
>
Subject: Re: How to retrieve the internal name of a DLS/SF2 file?
>
>
Hi Rolf,
>
>
Try:
>
>
// this will return the name of a sound bank from a sound bank file
>
extern OSStatus GetNameFromSoundBank(const FSRef *inSoundBankRef,
>
CFStringRef *outName);
>
>
>
defined in AudioToolbox.h
>
>
Chris Rogers
>
Core Audio
>
Apple Computer
>
>
>
>
>Hi,
>
>
>
>I'd like to show the user the real name of a DLS/SF2 file instead of
>
>the file name
>
>
>
>
>
>
>
>How to retrieve internal name of a DLS/SF2 file?
>
>
>
>
>
>Thanks
>
>Rolf Nilsson / Roni Music
>
>_______________________________________________
>
>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.