GNU bug report logs -
#3351
23.0.93; OSX sound support
Previous Next
Full log
View this message in rfc822 format
On 2009-05-22 21:31 +0800, Alex Schröder wrote:
> In GNU Emacs 23.0.93.2 (i386-apple-darwin8.11.1, NS apple-appkit-824.48)
> of 2009-05-22 on Pyrobombus.local
> Windowing system distributor `Apple', version 10.3.824
> configured using `configure '--with-ns''
>
> I'm using Mac OS 10.4.11 and when I try to (play-sound '(sound :file
> "/some/file")) I get the error "This Emacs binary lacks sound
> support".
>
> I think no Emacs is complete without sound support. ;)
I am using this small function to give me sound support on OSX:
https://raw.github.com/leoliu/play-sound-osx/master/play-sound.el
Two conscious abuses (can be fixed):
- misuse (signal 'wrong-type-argument (list sound)); it requires the
first item of DATA to be a predicate but I decided not to add another
function.
- async; should probably use call-process to stay close to the C
version.
BTW, I only remember once in the past years needing the feature.
Leo
This bug report was last modified 8 years and 340 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.