Mercurial > octave
view .gitattributes @ 32195:9cb43336c3b3
audiowrite: Allow writing mp3 through libsndfile API (bug #64388).
* m4/acinclude.m4 (OCTAVE_CHECK_LIB_SNDFILE_FORMATS): New function that checks
if libsndfile is able to write specific audio formats (currently MPEG audio
formats, including mp3).
* configure.ac: Call OCTAVE_CHECK_LIB_SNDFILE_FORMATS if libsndfile can be used.
* libinterp/dldfcn/audioread.cc (extension_to_format): Add m1a lookup.
(audiowrite): For file extenstions .mp1, .mp2, or .mp3, explicitly assign
corresponding format and MPEG layer.
* etc/NEWS.9.md: Add note about new feature.
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Thu, 06 Jul 2023 11:56:37 -0400 |
parents | c6f9ff84dc84 |
children |