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: Wed, 3 Jan 2024 20:56:11 -0800

Daniel Semyonov <daniel@dsemy.com> writes:

>>>>>> Richard Stallman writes:
>
>     >> My module only uses the audio playback API to play music through
>     >> Emacs.  I don't currently have plans to make use of other parts
>     >> of the library.
>
>     > I see.  It woild not be a pronlem to use a simple free linraru for
>     > that.  But maybe it is not necessary.  Will `play-sound' do the
>     > job?
>
> Unfortunately no, for various reasons:
> - 'play-sound' blocks Emacs while the sound is playing; the functions my
>   module implements play audio and manage playback asynchronously.
> - 'play-sound' only supports playing WAV and AU files (though I see now
>   that sound data can also be passed as a string, so I could implement
>   decoding functions in C and use them together with 'play-sound' to play
>   any sound file IIUC).
> - My module has been successfully tested on Android, and should also work
>   on Windows.  'play-sound' doesn't work at all on Android, and passing
>   sound data as a string isn't supported on Windows.

Is it possible to fix the above issues in `play-sound'?  That would be
preferable, because then it would benefit all users and not just those
that use your module.



reply via email to

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