Re: Accessing System default sounds
Re: Accessing System default sounds
- Subject: Re: Accessing System default sounds
- From: "Jordan Krushen" <email@hidden>
- Date: Tue, 30 May 2006 15:32:57 -0700
On 5/30/06, Mike Blaguszewski <email@hidden> wrote:
I think the original poster wanted to display a list of all system
sounds, for the user to pick from. I know of no way to do this short
of manually traversing the three standard sound directories with
NSDirectoryEnumerator.
Right. Perhaps a feature request for this functionality would be in
order to avoid code duplication? Apple's already doing the searching
(and perhaps caching) in +[NSSound soundNamed:], so they could likely
return the list of available ones as well, similar to
+[NSSpeechSynthesizer availableVoices].
J.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden