[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs audio problem
From: |
Dan Espen |
Subject: |
Re: Emacs audio problem |
Date: |
Fri, 01 Feb 2013 12:08:21 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) |
Jason Rumney <jasonrumney@gmail.com> writes:
> On Friday, 1 February 2013 02:32:05 UTC+8, Dan Espen wrote:
>>
>> (setq ring-bell-function (lambda ()
>>
>> (play-sound-file "/home/me/audio/tap2.au")))
>>
>> This works, but has an undesirable side effect.
>>
>> It looks like keystrokes are ignored until after the sound plays.
>>
>> Anyone have a suggestion?
>
> Use start-process to have an external program play the sound.
That's an idea.
I tried to follow Emacs code to see if it does something different
for :data vs. :file for the volume issue,
but so far the logic remains hidden from me.
I don't give up easy, so I'll try again.
I'll report back about start-process when I get a chance to try it.
--
Dan Espen