summaryrefslogtreecommitdiff
path: root/gr-blocks/lib/wavfile.cc
Commit message (Collapse)AuthorAgeFilesLines
* gr-blocks: Transition the WAV sink and source blocks to libsndfile.Ron Economos2020-09-011-279/+0
| | | | Compressed input and output with FLAC and Ogg Vorbis now supported.
* blocks: refactor and reorganize WAV internalsjapm482020-04-141-24/+32
| | | | | | | | This includes the following: - WAV header parameters are now stored in a struct. - do not assume fixed position of data chunk (useful for appending). - use INT{8,18}T_MAX/MIN. - 0|NULL -> nullptr.
* blocks: fix wavfile testjapm482020-04-141-1/+17
| | | | | | | | | | | | | | | | | | | | The example test_16bit_1chunk.wav was invalid even if the tests passed. This file caused errors in ffprobe (from ffmpeg) and wave (from python standard lib). This is what changed: - LIST chunk corrected, according to spec. Previously `ffprobe` complained: [wav @ 0x5653f92d6dc0] too short LIST tag - File size corrected. Previously the test assumed that the resulting headers to be identical, this is now taken into account. Because of this, python's `wave` did not work. This is added to the test. Parser is updated to check file size. - Tests that did not close opened files were corrected. References: [1] https://sites.google.com/site/musicgapi/technical-documents/wav-file-format [2] http://www-mmsp.ece.mcgill.ca/Documents/AudioFormats/WAVE/Docs/riffmci.pdf
* replace boost endian check with cmakejapm482020-04-061-3/+2
|
* Update license header to SPDX formatdevnulling2020-01-271-13/+1
|
* clang-format: Ordering all the includesMarcus Müller2019-08-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | clang-format: ordering includes in gnuradio-runtime clang-format: ordering includes in gr-filter clang-format: ordering includes in gr-fft clang-format: ordering includes in gr-audio clang-format: ordering includes in gr-analog clang-format: ordering includes in gr-fec clang-format: ordering includes in gr-wavelet clang-format: ordering includes in gr-zeromq clang-format: ordering includes in gr-vocoder clang-format: ordering includes in gr-video-sdl clang-format: ordering includes in gr-trellis clang-format: ordering includes in gr-blocks clang-format: ordering includes in gr-digital clang-format: ordering includes in gr-uhd clang-format: ordering includes in gr-dtv clang-format: ordering includes in gr-channels clang-format: ordering includes in gr-qtgui clang_format.py: re-enable include reordering
* Tree: clang-format without the include sortingMarcus Müller2019-08-091-210/+199
|
* blocks: Fix 8-bit WAV file readinggmazilla2019-06-191-1/+1
| | | | | | 'Wav File Source' block in gnuradio reads PCM 8bit wav files incorrectly. It adds random huge DC component. Caused by garbage in high byte of buf_16bit.
* The functions in wavfile.cc are publicly exported.qarlosalberto2014-08-261-1/+0
|
* blocks: allow extra header chunks in wav_file_sourceSebastian Koslowski2013-11-161-3/+19
|
* blocks: Fix CID 1088839, 1046407 and 1046395Martin Braun2013-10-091-4/+10
|
* Merge branch 'maint'Johnathan Corgan2013-06-221-3/+3
|\ | | | | | | | | Conflicts: gnuradio-core/src/lib/runtime/gr_tpb_thread_body.cc
| * blocks: fix big-endian issue in wavefile blocksJaroslav Škarvada2013-06-221-3/+3
| |
* | runtime: converting runtime core to gr namespace, gnuradio include dir.Tom Rondeau2013-04-291-1/+1
|/
* blocks: moved tagged_file_sink and wavfile source/sink/base to gr-blocks.Tom Rondeau2013-03-091-0/+258