all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* `play-sound-file', no mp3 support, sets global volume w/o reset
@ 2024-09-04 21:52 Emanuel Berg
  2024-09-11 12:07 ` Emanuel Berg
  0 siblings, 1 reply; 5+ messages in thread
From: Emanuel Berg @ 2024-09-04 21:52 UTC (permalink / raw)
  To: emacs-devel

`play-sound-file' doesn't play mp3 files, but it could, as the
MP3 patent expired in 2017. (So between 6y 8m 4d and 7y 8m 3d ago.)

But you can easily convert convert an .mp3 file into an .au
file with

  $ ffmpeg -i src.mp3 dst.au

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.

-- 
underground experts united
https://dataswamp.org/~incal




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

end of thread, other threads:[~2024-09-22 12:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2024-09-12  4:50     ` Emanuel Berg
2024-09-22 12:19   ` Björn Bidar

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.