Run a test using the system .aif sound files: they won't work. Convert them to .mp3 files: they do work. That's what I mean by "in my experience".
Mark > On Aug 18, 2020, at 1:56 PM, Jens Alfke <j...@mooseyard.com> wrote: > > > >> On Aug 18, 2020, at 11:10 AM, Carl Hoefs via Cocoa-dev >> <cocoa-dev@lists.apple.com <mailto:cocoa-dev@lists.apple.com>> wrote: >> >> In my experience, playing sounds (in macOS apps) only works when using mp3 >> files. > > I disagree. NSSound supports all the formats CoreAudio does, and normally for > brief sounds people use AIFF. > > I can't imagine any feature supporting _only_ MP3; it's an archaic format. > Apple doesn't even provide an MP3 encoder in the OS, for complicated legal > reasons. (Yes, iTunes/Music can encode MP3s, but that's because there's en > encoder in the app, not accessible to other software.) > > —Jens _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com