summaryrefslogtreecommitdiff
path: root/gr-audio/lib/jack
Commit message (Collapse)AuthorAgeFilesLines
* modules: include boost/format where usedMarcus Müller2021-09-072-0/+2
| | | | | | | | | | | | | | | | | | | in the classic modules: audio blocks digital dtv fec fft filter qtgui trellis/fsm uhd video-sdl vocoder/freedv_rx Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
* audio/jack: to_string is no longer part of boost:: NS, instead use std::Marcus Müller2021-08-232-2/+2
| | | | Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
* global: remove iostream from all files not use cout|cerr|cin|clogMarcus Müller2021-06-172-2/+0
| | | | Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
* clang-tidy: run full .clang-tidy on C++17 codebaseMarcus Müller2021-01-193-3/+3
| | | | | | | | | | | | | | | | | | | | run /usr/share/clang/run-clang-tidy.py -checks=file '-header-filter=.*' -fix .. from build directory. Then, clang-format -i $(git diff --name-only origin/master) to clang-format changed files. Then, refresh all header hashes in pybind bindings (*/python/bindings/*.cc) Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
* modernization: `override` instead of virtual in all compilation unitsMarcus Müller2020-11-032-6/+6
|
* Change assert to static_assert, where possibleThomas Habets2020-03-201-1/+2
| | | | | These are all ones I could find, so assert->static_assert should now be done.
* Update license header to SPDX formatdevnulling2020-01-276-78/+6
|
* Replace many `const` variables with `constexpr`Thomas Habets2020-01-042-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | constexpr is like const but (for variables) guarantees evaluation at compile time (as opposed to runtime). Likely this change will do nothing on its own (though it could, since it gives the compiler more information). But it still has benefits. It allows programmer to know that initialization is not expensive (it was done at compile time), and reduces risk of a refactoring regressing the compiletimeness. Runtime initialization can be nonobvious in larger codebases. E.g.: struct S { static int foo(); }; const int bar = S::foo(); // Called and initialized at *runtime*. int S::foo() { return 10; } With constexpr: struct S { static constexpr int foo(); }; constexpr int bar = S::foo(); // Error: used before definition. constexpr int S::foo() { return 10; } Initializing at runtime is not just startup costs, but also can save memory since it'll end up in a R/O section of a binary and therefore doesn't need to be swapped out, but can be shared (in the mmap() sense of the word).
* delete unused variablesBastian Bloessl2019-09-054-4/+0
|
* clang-format: Ordering all the includesMarcus Müller2019-08-094-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-094-414/+395
|
* cleanup: fix local includes in gr-audioAndrej Rode2019-02-013-9/+7
| | | | | | | Previously all directories were in the include path which breaks for local includes in pointy brackets. This commit uses quotes for local includes in gr-audio now.
* cleanup: remove dynamic exception specificationsAndrej Rode2018-02-064-4/+4
|
* audio: modified the audio registration system.Tom Rondeau2014-08-132-22/+22
| | | | Instead of static functions and macros, this just uses simple ifdefs in the code to register new audio components if cmake found them. The code is more complicated for the developer, if we ever add a new audio machine. But this allows us to use gr-audio in statically linked cases.
* Removing trailing/extra whitespaces before release.Tom Rondeau2014-07-074-8/+8
| | | | We should be more careful about letting these into the code in the future. In emacs, we can use (add-hook 'before-save-hook 'delete-trailing-whitespace).
* Support for >1 jack port, various sizes of jack buffersSteve Haynal2013-12-094-90/+145
|
* audio: moved include dir to gnuradio/audioJohnathan Corgan2013-04-292-2/+2
|
* runtime: converting runtime core to gr namespace, gnuradio include dir.Tom Rondeau2013-04-292-14/+14
|
* audio: wip: converting OSX audio to 3.7 style.Tom Rondeau2013-02-131-3/+3
|
* analog: wip: name changes for alsa, oss, jack files.Tom Rondeau2013-02-116-7/+7
|
* analog: wip: oss and jack converted and compiling.Tom Rondeau2013-02-114-392/+412
| | | | C++ dial_tone example working.
* audio: wip: moving audio to 3.7 style. Headers renamed and moved.Tom Rondeau2013-02-112-4/+4
|
* Removed whitespace and added dtools/bin/remove-whitespace as a tool to do ↵Tom Rondeau2012-04-136-42/+42
| | | | | | this in the future. The sed script was provided by Moritz Fischer.
* docs: adding doc directory, Doxygen page, and README for audio package.Tom Rondeau2011-10-092-0/+2
|
* audio: cleanup audio source/sink with virtual inheritanceJosh Blum2011-03-282-2/+2
| | | | | The audio implementations now inherit from sync block (as they used to). And the redundant constructor in audio source/sink has been removed.
* audio: added config checks for other audios, added jack and portJosh Blum2011-03-097-0/+697