emacs-devel
[Top][All Lists]
Advanced

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

Re: Vendoring code in a (Non?)GNU ELPA package


From: Stefan Kangas
Subject: Re: Vendoring code in a (Non?)GNU ELPA package
Date: Sat, 6 Jan 2024 03:45:01 -0800

Daniel Semyonov <daniel@dsemy.com> writes:

> No clue honestly, I've never seen code that uses `play-audio'.
> It isn't surprising though, `play-audio' in it's current state isn't
> very useful apart from playing very short sounds IMO.

Yes, but it's useful to be able to play even very short sounds without
blocking the entire Emacs session.  So it's probably okay to just change
`play-sound' to be non-blocking.

>     > Threads sound like an unnecessary complication, and I'm not sure
>     > why we would need them.  Aren't there non-blocking calls that we
>     > could use?
>
> There are, but I had trouble understanding how they could actually be
> used in this situation.  In any case I did some more research and I
> think I understand how to implement this without threads now (at least
> for ALSA).

Sounds good, thanks for working on it.



reply via email to

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