From: Stefan Kangas <stefankangas@gmail.com>
To: Emanuel Berg <incal@dataswamp.org>, emacs-devel@gnu.org
Subject: Re: `play-sound-file', no mp3 support, sets global volume w/o reset
Date: Wed, 11 Sep 2024 13:43:50 -0700 [thread overview]
Message-ID: <CADwFkm=4x1A==5DZpQw+L038R-nmQjdnJeO499b0O_LkPXA7VQ@mail.gmail.com> (raw)
In-Reply-To: <878qvyqtqs.fsf@dataswamp.org>
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.
next prev parent reply other threads:[~2024-09-11 20:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-04 21:52 `play-sound-file', no mp3 support, sets global volume w/o reset Emanuel Berg
2024-09-11 12:07 ` Emanuel Berg
2024-09-11 20:43 ` Stefan Kangas [this message]
2024-09-12 4:50 ` Emanuel Berg
2024-09-22 12:19 ` Björn Bidar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CADwFkm=4x1A==5DZpQw+L038R-nmQjdnJeO499b0O_LkPXA7VQ@mail.gmail.com' \
--to=stefankangas@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=incal@dataswamp.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.