Commit Graph

19 Commits

Author SHA1 Message Date
Erik de Castro Lopo
df55170ce4 sndfile-convert: Fix conversion to/from Opus 2019-04-22 02:48:50 +10:00
Erik de Castro Lopo
5efe93de20 programs/common.c: Fix compiler warning 2017-07-29 12:08:10 +10:00
Erik de Castro Lopo
20b7b13d35 programs/ : Minor console output fixes.
* programs/common.c : Remove copy/paste cruft.
* programs/sndfile-play.c : Fix inconsistent indentation.

Patch-from: Jan Stary <hans@stare.cz>
2014-11-11 06:13:32 -08:00
Erik de Castro Lopo
0319ecb91f Reorder file format lists to be the same as sndfile.h and api.html
* Reorders the list of recognized file formats and their filename
  extensions and aliases in programs/common.c's format_map[] and in
  sndfile-convert.1 so that the list is in the same order as in
  sndfile.h and api.html

* Adds more types that we know but format_map[] didn't use, namely
  AVR and WAVEX

* Add more filename extension aliases, insipred by those recognized
  by SoX, namely "sph" for NIST and "prc" for WVE.

Patch-from: Jan Stary <hans@stare.cz>
2014-07-01 16:51:18 +10:00
Erik de Castro Lopo
409d05275f programs/sndfile-convert.c : Add a -normalize command line argument.
Feature request by Tim Blechmann.

Closes : https://github.com/erikd/libsndfile/issues/23
2013-07-02 17:48:50 +10:00
Erik de Castro Lopo
caea89ea3d programs/common.[ch] : Add sfe_endian_name() etc functions.
Functions: sfe_endian_name(), sfe_container_name() and
sfe_codec_name().
2013-06-24 19:47:10 +10:00
Erik de Castro Lopo
8b2b9b0c82 programs/common.c : Accept 'ogg' as a file extention for Ogg/Vorbis files. 2012-07-09 19:41:04 +10:00
Erik de Castro Lopo
8508ec5679 More whitespace and cstyle fixes. 2012-01-21 14:24:38 +11:00
Erik de Castro Lopo
7ef22ed2f1 programs/common.[ch] : Add function program_name(). 2011-03-21 21:16:13 +11:00
Erik de Castro Lopo
f209698448 Update copyright dates. 2011-01-19 21:36:56 +11:00
Erik de Castro Lopo
70b4f49f85 programs/ : Update metadata after the audio data is copied. Other minor fixes. Patch from Marius Hennecke. 2010-05-07 22:10:58 +10:00
Erik de Castro Lopo
5371151d5b programs/sndfile-metadata-set : Apply a patch from Robin Gareus allowing the setting of the time reference field of the BEXT chunk. 2010-02-22 18:31:20 +11:00
Erik de Castro Lopo
793bc6b49b programs/common.c : Fix update_strings() copyright, comment, album and license are correctly written. 2010-01-07 20:41:47 +11:00
Erik de Castro Lopo
218024ef7d Move some code from sndfile-convert.c to programs/common.[ch] for reuse. 2009-12-02 20:26:06 +11:00
Erik de Castro Lopo
a38e0b105e Update copyright notices. 2009-02-07 15:20:17 +11:00
Erik de Castro Lopo
76f18fcbdf programs/common.c : When merging broadcast info, make sure to clear the destination field before copying in the new data. 2008-11-06 10:07:59 +11:00
Erik de Castro Lopo
6c8026ab54 programs/*.[ch] : Use SF_BROADCAST_INFO_VAR to manipulate larger 'bext' chunks. 2008-10-27 06:28:14 +11:00
Erik de Castro Lopo
d905c16adb programs/common.c : Return 1 if SFC_SET_BROADCAST_INFO fails. 2008-10-26 18:02:04 +11:00
Erik de Castro Lopo
50112e2bb7 Move real utility programs from examples/ to new directory programs/ . 2008-10-21 22:49:55 +11:00