unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#74863: 31.0.50; Problems with play-sound on MS-Windows
@ 2024-12-13 23:50 Cecilio Pardo
  2024-12-14  8:42 ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: Cecilio Pardo @ 2024-12-13 23:50 UTC (permalink / raw)
  To: 74863

There are some problems with play-sound, but I didn't find an active bug 
for them. Before working on them I have a couple of questions:

- Is sound playing synchronous on purpose?

- To support :data, we can use the PlaySound function, but we will lose
the ability to play files other than wav. We can maintain the current 
code for files, and use PlaySound for :data. Another option would be to 
simply save data to a temp file and play the file.







^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#74863: 31.0.50; Problems with play-sound on MS-Windows
  2024-12-13 23:50 bug#74863: 31.0.50; Problems with play-sound on MS-Windows Cecilio Pardo
@ 2024-12-14  8:42 ` Eli Zaretskii
  2024-12-14 14:07   ` Cecilio Pardo
  0 siblings, 1 reply; 4+ messages in thread
From: Eli Zaretskii @ 2024-12-14  8:42 UTC (permalink / raw)
  To: Cecilio Pardo; +Cc: 74863

> Date: Sat, 14 Dec 2024 00:50:34 +0100
> From: Cecilio Pardo <cpardo@imayhem.com>
> 
> There are some problems with play-sound, but I didn't find an active bug 
> for them. Before working on them I have a couple of questions:
> 
> - Is sound playing synchronous on purpose?

It's synchronous because AFAIK the equivalent features on GNU/Linux
play sound synchronously.  We have a policy of not installing features
that might put non-free systems at an advantage.  So we can make the
sound playing on Windows asynchronous (which is very easily done on
Windows) once there is such a capability on free systems.

> - To support :data, we can use the PlaySound function, but we will lose
> the ability to play files other than wav. We can maintain the current 
> code for files, and use PlaySound for :data. Another option would be to 
> simply save data to a temp file and play the file.

I'd say the former is preferable, but without losing the ability to
play the files we can today.  That is, maintain the current code for
files and add new code for :data.

Thanks.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#74863: 31.0.50; Problems with play-sound on MS-Windows
  2024-12-14  8:42 ` Eli Zaretskii
@ 2024-12-14 14:07   ` Cecilio Pardo
  2024-12-14 14:56     ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: Cecilio Pardo @ 2024-12-14 14:07 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 74863

On 14/12/2024 9:42, Eli Zaretskii wrote:
>> - Is sound playing synchronous on purpose?
> 
> It's synchronous because AFAIK the equivalent features on GNU/Linux
> play sound synchronously.  We have a policy of not installing features
> that might put non-free systems at an advantage.  So we can make the
> sound playing on Windows asynchronous (which is very easily done on
> Windows) once there is such a capability on free systems.

Should we add support for PipeWire on GNU/Linux?







^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#74863: 31.0.50; Problems with play-sound on MS-Windows
  2024-12-14 14:07   ` Cecilio Pardo
@ 2024-12-14 14:56     ` Eli Zaretskii
  0 siblings, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2024-12-14 14:56 UTC (permalink / raw)
  To: Cecilio Pardo; +Cc: 74863

> Date: Sat, 14 Dec 2024 15:07:39 +0100
> Cc: 74863@debbugs.gnu.org
> From: Cecilio Pardo <cpardo@imayhem.com>
> 
> On 14/12/2024 9:42, Eli Zaretskii wrote:
> >> - Is sound playing synchronous on purpose?
> > 
> > It's synchronous because AFAIK the equivalent features on GNU/Linux
> > play sound synchronously.  We have a policy of not installing features
> > that might put non-free systems at an advantage.  So we can make the
> > sound playing on Windows asynchronous (which is very easily done on
> > Windows) once there is such a capability on free systems.
> 
> Should we add support for PipeWire on GNU/Linux?

I don't know what PipeWire is, so I have no opinion on this.





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-12-14 14:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-13 23:50 bug#74863: 31.0.50; Problems with play-sound on MS-Windows Cecilio Pardo
2024-12-14  8:42 ` Eli Zaretskii
2024-12-14 14:07   ` Cecilio Pardo
2024-12-14 14:56     ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).