source: src/io/source_wavread.c

Revision Log Mode:


Legend:

Added
Modified
Copied or renamed
Diff Rev Age Author Log Message
(edit) @6a253e8   5 years Paul Brossier [source_wavread] use padding helpers feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/timestretchfix/ffmpeg5
(edit) @ec3f25f9   5 years Paul Brossier [source_wavread] validate input sizes to prevent invalid reads feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/timestretchfix/ffmpeg5
(edit) @c0a1906   5 years Paul Brossier [source] simplify and avoid unrequired checks feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/timestretchfix/ffmpeg5
(edit) @99c7aa2   6 years Paul Brossier src/io/source_wavread.c: also exit if samplerate is negative (closes #188) feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5
(edit) @25ecb73   6 years Paul Brossier src/io/source_wavread.c: add some input validation (closes: #158) feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5
(edit) @2882b3f   7 years Paul Brossier src/io/source_wavread.c: allow closing twice feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5sampler
(edit) @23f1c49   7 years Paul Brossier src/io/source_wavread.c: raise error in _do/_do_multi, not _readframe feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5sampler
(edit) @cc469dd   7 years Paul Brossier src/io/source_wavread.c: avoid seeking in closed file feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5sampler
(edit) @2296ffb   7 years Paul Brossier src/io/source_wavread.c: set error message in seek if pos < 0 feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5sampler
(edit) @cf5c2ca   7 years Paul Brossier src/io/source_wavread.c: avoid reading in closed file feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5sampler
(edit) @33d0242   7 years Paul Brossier src/aubio_priv.h: move include config.h here feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5sampleryinfft+
(edit) @3820264   7 years Paul Brossier src/io/source_wavread.c: improve error messages feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5sampleryinfft+
(edit) @cfddab9   7 years Paul Brossier src/io/source_wavread.c: initialize buffer feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5sampleryinfft+
(edit) @80d0083   8 years Paul Brossier src/io/{source_wavread,sink_wavwrite}.c: declare internal functions as … feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
(edit) @fa5d8ad   8 years Paul Brossier src/io/source_wavread.c: skip chunks until data is found, or abort feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
(edit) @a27576b   8 years Paul Brossier src/io/source_wavread.c: fix bytes_read for JUNK headers feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
(edit) @bfab39c   8 years Paul Brossier src/io/source_wavread.c: skip junk chunk feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
(edit) @b4e1438   8 years Paul Brossier src/io/source_wavread.h: add _get_duration feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
(edit) @d2be104   8 years Paul Brossier src/io/: also copy null ending char feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
(edit) @b643a33   8 years Paul Brossier src/io/*.c: take a copy of const char* path feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
(edit) @ae5d58a   8 years Paul Brossier src/io/*.{c,h}: added const qualifiers to unmodified pointers feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
(edit) @c952f42   9 years Paul Brossier src/io/source_wavread.c: cast size_t to int to avoid warning on win64 feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
(edit) @bc6b2af   9 years Paul Brossier src/io/source_wavread.c: avoid orphan parenthesis feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
(edit) @0ff4434   10 years Paul Brossier src/io/source_wavread.c: improve seek errors processing feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
(edit) @69bc171   10 years Paul Brossier src/io/source_wavread.c: sync error message feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
(edit) @46148d3   10 years Paul Brossier src/io/source_wavread.c: hack around unknown conversion type char z on … feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
(edit) @87636d0   10 years Paul Brossier src/io/source_wavread.c: use the return value of fread to detect short … feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
(edit) @c1f0c1d   10 years Paul Brossier src/io/source_wavread.c: avoid calling fclose twice, print an error if … feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
(edit) @422452b   10 years Paul Brossier src/io/source*: add _close function feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
(edit) @5ab8e59   10 years Paul Brossier src/io/source{,_wavread}.c: improve error message feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
(edit) @d13e6b7   10 years Paul Brossier src/io/source_wavread.c: fix errno.h include feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
(edit) @6d509c3   10 years Paul Brossier src/io/source_wavread.c: open file in binary mode for windows feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
(edit) @8e21476   10 years Paul Brossier src/io/source_w*.c: disable debug output feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
(add) @5158c22   10 years Paul Brossier src/io/source_wavread.h: add native wav reader feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Note: See TracRevisionLog for help on using the revision log.