Commit Graph

58 Commits

Author SHA1 Message Date
Erik de Castro Lopo
6215c4c47c Add example program using the C++ SndfileHandle class. 2007-11-03 12:50:53 +11:00
Erik de Castro Lopo
d7c919f121 Fix gcc-4.2 warning messages. 2007-10-22 23:02:11 +10:00
Erik de Castro Lopo
98e1abafb9 Change license to all example programs to BSD. 2007-09-10 19:20:13 +10:00
Erik de Castro Lopo
4362342b98 Merge changes from Reuben Thomas to improve WVE support. 2007-04-14 18:00:06 +10:00
Erik de Castro Lopo
70976311f0 Add file examples/sndfile-data-trim.c. Hook into build. 2007-04-14 16:51:38 +10:00
Erik de Castro Lopo
ac61efccb8 Remove examples/cooledit-fixer.c. 2007-02-07 10:08:23 +11:00
Erik de Castro Lopo
a84bd14878 examples/sndfile-play.c : For ALSA, use the 'default' device instead of 'plughw:0'. 2007-01-25 22:20:17 +11:00
Erik de Castro Lopo
319a7ffd59 sndfile-convert.c : Add -override-sample-rate command line option. 2006-12-16 08:00:55 +11:00
Erik de Castro Lopo
79307bc119 sndfile-info.c : Make sure to parse info if file fails to open. 2006-07-15 10:48:52 +00:00
Erik de Castro Lopo
b404b718c0 sndfile-play.c : Explicitly set endian-ness as well as setting 16 bit output. 2006-07-15 10:42:24 +00:00
Erik de Castro Lopo
0662d8a7c6 Fix gcc-4.1 type punned pointer warnings. 2006-06-21 13:15:05 +00:00
Erik de Castro Lopo
fcf46c98d2 sndfile-convert.c : Add conversion SF_INSTRUMENT data when present. 2006-05-30 13:18:56 +00:00
Erik de Castro Lopo
25e21e1306 Fix a couple of signed/unsigned problems. 2006-05-02 10:23:11 +00:00
Erik de Castro Lopo
038d8f62c7 sndfile-info.c : Clean up usage of SF_INFO struct. 2006-04-30 12:51:24 +00:00
Erik de Castro Lopo
d1b9e31444 Merge in changes from broadcast WAV branch.
Patches applied:

 * erikd@miles--2004/libsndfile--bext--0--base-0
   tag of erikd@miles--2004/libsndfile--mdev--1.0--patch-625

 * erikd@miles--2004/libsndfile--bext--0--patch-1
   Add BEXT patch from Paul Davis.

 * erikd@miles--2004/libsndfile--bext--0--patch-2
   Make it actually compile.

 * erikd@miles--2004/libsndfile--bext--0--patch-3
   Fix formatting of new code.

 * erikd@miles--2004/libsndfile--bext--0--patch-4
   Fix minor bugs after cleanup.

 * erikd@miles--2004/libsndfile--bext--0--patch-5
   Merge from --mdev branch.

 * erikd@miles--2004/libsndfile--bext--0--patch-6
   sndfile.h.in : Clean up formatting of SF_BROADCAST_INFO struct.

 * erikd@miles--2004/libsndfile--bext--0--patch-7
   wav.c : Cleanup of broadcast WAV stuff.

 * erikd@miles--2004/libsndfile--bext--0--patch-8
   wav.c : Fix minor bug in broadcast WAV stuff.

 * erikd@miles--2004/libsndfile--bext--0--patch-9
   sndfile-info.c : Minor cleanup.

 * erikd@miles--2004/libsndfile--bext--0--patch-10
   sndfile.c : More cleanups.

 * erikd@miles--2004/libsndfile--bext--0--patch-11
   sndfile.h.in : Fix whitespace.

 * erikd@miles--2004/libsndfile--bext--0--patch-12
   Merge from --mdev branch.

 * erikd@miles--2004/libsndfile--bext--0--patch-13
   Change coding_history field from char pointer to char array.

 * erikd@miles--2004/libsndfile--bext--0--patch-14
   Remove function broadcast_info_free.

 * erikd@miles--2004/libsndfile--bext--0--patch-15
   sndfile-info.c : Clean up output of broadcast_dump function.

 * erikd@miles--2004/libsndfile--bext--0--patch-16
   command_test.c : Start work on broadcast chunk tests.

 * erikd@miles--2004/libsndfile--bext--0--patch-17
   wav.c : Jump and ignore the 'levl' chunk.

 * erikd@miles--2004/libsndfile--bext--0--patch-18
   sndfile.h.in : Add block of reserved characters to SF_BROADCAST_INFO.

 * erikd@miles--2004/libsndfile--bext--0--patch-19
   Cleanup of broadcast WAV stuff.

 * erikd@miles--2004/libsndfile--bext--0--patch-20
   sndfile-info.c : Fix print message.

 * erikd@miles--2004/libsndfile--bext--0--patch-21
   Complete bext tests, hook test in test suite.
2006-03-30 22:43:51 +00:00
Erik de Castro Lopo
32f0eb11d3 sndfile-play.c : Fix calculation of samples remaining in win32 code. 2006-01-10 07:40:56 +00:00
Erik de Castro Lopo
1f8e0d7334 list_formats.c : Make sure the sfinfo struct is zeroed out before it is used. 2005-12-07 08:27:35 +00:00
Erik de Castro Lopo
c0a18c3ff9 Allow conversion to raw gsm610. 2005-11-18 23:52:14 +00:00
Erik de Castro Lopo
86cafb25bf sndfile-info.c : Complete dumping SF_INSTRUMENT data. 2005-10-26 07:05:51 +00:00
Erik de Castro Lopo
4d30cb9c93 sndfile-info.c : Start work on dumping SF_INSTRUMENT data. 2005-10-25 04:49:15 +00:00
Erik de Castro Lopo
f3ea80efe5 Fix autoconf config issues using new file sfconfig.h. 2005-09-03 06:12:30 +00:00
Erik de Castro Lopo
fe7d03cd59 Remove some of the config related changes in last commit. They broke MinGW builds. 2005-09-03 03:50:47 +00:00
Erik de Castro Lopo
0c7b227de0 Fix a bunch of minor issues found by John Pavel using the Intel compiler. 2005-09-03 02:18:46 +00:00
Erik de Castro Lopo
c1434c379a sndfile-convert.c : Allow files to be converted to SD2 format. 2005-08-25 23:01:23 +00:00
Erik de Castro Lopo
94dec2df1c sndfile-convert.c : Add support for writing to VOX adpcm output files. 2005-08-10 09:18:51 +00:00
Erik de Castro Lopo
2eaffaadd8 sndfile-convert.c : Add support for CAF files. 2005-07-07 23:17:45 +00:00
Erik de Castro Lopo
620784de07 Fix sign conversion errors reported by gcc-4.0. 2005-07-04 07:23:48 +00:00
Erik de Castro Lopo
7ed5aeda3f Improve error handling in code for playback under Linux/ALSA. 2005-05-12 09:54:05 +00:00
Erik de Castro Lopo
771e688209 Update copyright dates. 2005-04-24 14:02:12 +00:00
Erik de Castro Lopo
19034b992d Delete subtypes SF_FORMAT_FLAC_* and replace with SF_FORMAT_PCM_*. 2005-02-12 09:24:04 +00:00
Erik de Castro Lopo
06514d012e Update copyright notices. 2005-01-26 22:46:37 +00:00
Erik de Castro Lopo
8bef0e5b32 Make sure audio output is flushed before closing devices in ALSA and OSS code. 2004-12-30 23:48:42 +00:00
Erik de Castro Lopo
a97fb9fce2 Const-ify the write path throughout. 2004-12-23 10:49:57 +00:00
Erik de Castro Lopo
4160a870d9 Reomve debug code from ALSA section on sndfile-play.c. 2004-11-09 19:49:48 +00:00
Erik de Castro Lopo
188247ede6 Add fflush to win32 usage message. 2004-09-30 09:04:23 +00:00
Erik de Castro Lopo
5dc2f9c629 Fix sndfile-convert for int -> float conversions. 2004-09-23 22:18:48 +00:00
Erik de Castro Lopo
148d6e63d1 Fix OSX error message in sndfile-play.c. 2004-09-22 08:10:03 +00:00
Erik de Castro Lopo
ae5574611e Prevent race conditions in win32 code of sndfile-play.c. 2004-09-05 08:31:16 +00:00
Erik de Castro Lopo
8decea66a3 Fix a bug in copy_metadata(). 2004-09-04 08:55:10 +00:00
Erik de Castro Lopo
17fc984ba8 Win32 fixes to sndfile-play and build system. 2004-08-20 01:43:02 +00:00
Erik de Castro Lopo
f648b57d06 Apply patch to fix playback of mono files on MacOSX. 2004-06-28 09:45:55 +00:00
Erik de Castro Lopo
6ae3bd93af Move copy_metadata() after the second sf_open(). 2004-06-25 10:25:47 +00:00
Erik de Castro Lopo
e2ed4db13a Fix an infinite loop in sndfile-comvert. 2004-06-21 12:30:36 +00:00
Erik de Castro Lopo
63e25ff545 Formatting fixes in examples/ dir. 2004-05-30 03:03:47 +00:00
Erik de Castro Lopo
22a0bf3679 Fix un-initialised data in win32 audio out code. 2004-05-30 02:55:22 +00:00
Erik de Castro Lopo
34273e7fdd Remove usage of mmreg.h. 2004-05-23 03:43:57 +00:00
Erik de Castro Lopo
f663bb7505 Remove win32 compiler warnings in sndfile-play.c 2004-05-16 05:20:27 +00:00
Erik de Castro Lopo
9b6c4af94c Simplify handling of win32 in sndfile-play. 2004-05-14 14:14:26 +00:00
Erik de Castro Lopo
312ba604bd In sndfile-convert, add ability to transcode meta data. 2004-04-26 03:32:42 +00:00
Erik de Castro Lopo
b3944e2ff6 In sndfile-info, print out the dB level with the signal max. 2004-04-19 10:50:59 +00:00