Commit Graph

10 Commits

Author SHA1 Message Date
evpobr
c0c81a5bde sndfile-to-text: Return proper error code 2021-03-16 18:56:26 +05:00
evpobr
8ff8ed6967 sndfile-to-text: Fix large stack allocation 2021-03-16 16:54:17 +05:00
evpobr
4ff3b84eff msvc: Fix annoying conversion warnings #304 2021-03-06 11:41:47 +05:00
IOhannes m zmölnig
f9a3fab6aa examples/sndfile-to-text: added '--full-precision' flag
Specifying this flag will store the samples in full precision
(so they can be losslessly restored from the text-file).

Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
Closes: https://github.com/erikd/libsndfile/pull/186
2016-10-13 19:44:46 +11:00
Erik de Castro Lopo
ba352a1ce7 Remove all use of Variable Length Arrays
VLAs are somewhat unsound and are being made an optional part of ISO
C specification.
2016-09-03 18:11:56 +10:00
Ulrich Klauer
23c926d633 Properly initialize SF_INFO in example programs
Some of the example programs (examples/generate.c,
examples/sfprocess.c, examples/sndfile-to-text.c) didn't initialize
the SF_INFO structure to zero before using it, leading to undefined
behaviour. Add a memset() to fix this.

Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
2013-02-07 18:13:53 +11:00
Erik de Castro Lopo
8508ec5679 More whitespace and cstyle fixes. 2012-01-21 14:24:38 +11:00
Erik de Castro Lopo
f209698448 Update copyright dates. 2011-01-19 21:36:56 +11:00
Erik de Castro Lopo
a38e0b105e Update copyright notices. 2009-02-07 15:20:17 +11:00
Erik de Castro Lopo
6d7eac5e45 Add a new exmaple program (sndfile-to-text.c) and hook it into the build. 2008-10-21 22:26:29 +11:00