emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: `play-sound-file', no mp3 support, sets global volume w/o reset


From: Stefan Kangas
Subject: Re: `play-sound-file', no mp3 support, sets global volume w/o reset
Date: Wed, 11 Sep 2024 13:43:50 -0700

Emanuel Berg <incal@dataswamp.org> writes:

>> But play-sound-file has another problem, namely, if you do
>> e.g.
>>
>>   (play-sound-file (file-name-concat bad-dir "data" "up.au") 0.4)
>>
>> it sets the global volume to 40% and worse, after it is
>> done, it isn't reset.
>
> Did anyone check this out?

Please report this to the bug tracker, with all the details.

> Also, another bad thing is that the command monopolizes
> execution. I know Elisp is single-threaded and the idle timer
> and C threads don't change that, but what about
> a child process?

See etc/TODO:

** Make play-sound asynchronous and non-blocking

Patches welcome.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]