| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
This removes a use of boost and fixes the failing build (due to missing
the boost::scoped_array header, how did this work before?).
Signed-off-by: Ryan Volz <ryan.volz@gmail.com>
|
|
|
|
|
|
|
| |
This commit replaces many uses of std::c{out,err} and printf with the
appropriate GR_LOG_* directives.
Signed-off-by: David Winter <david.winter@analog.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a bit special, in that audio systems tend to have their own ways
of going wrong, and there's platform-specific development debugging
infrastructure in there, which I intentionally did not touch.
I did touch a few commented lines of code in the intention of, if you
enable that line of logging, it should be consistent with the rest.
There's copious amounts of untouched stderr-logging in `#if 0`-disabled
code in OSX's infrastructure.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
|
|
|
| |
Luzpaz went ahead and found typos using `codespell -q 3`.
|
|\ |
|
| |
| |
| |
| | |
Allow for internal or external specification of _OSX_*_DEBUG_ flags.
|
|/ |
|
| |
|
|
|
|
| |
GNU Radio.
|
|
|
|
| |
instead of a direct pointer manipulation, to make some newer compilers happy.
|
|
|
|
| |
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.
|
|
|
|
| |
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).
|
|
|
|
| |
happy.
|
| |
|
|
|
|
| |
naming!
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
- fix dequeue to return 3 when the requested number of items to dequeue is not the same as the actual number of items. fix comments to reflect this change as well as the actual input and output info for this variable.
- fix comments. fix debug printouts to be consistent.
- fix the AU callback to not throw, since it is not handled robustly by the OS routines that to the call. Add NOTE to this effect. Return better error codes when an issue arises.
- correctly convert d_buffer_sample_count to int before using it.
- when stopping: if waiting in ::work, signal the thread to wake up, in the hopes that it will correctly return and terminate. After stopping the AU, abort and reset buffers as well as clear our local knowledge about the amount of data in the queues.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
+ use GNU Radio preferences file to set default input and output audio device, if provided;
+ use gr::logger for all non-debug messages;
+ case-insensitive string find with desired audio device name;
+ fixes buffer allocation bug with low sample rates;
+ allows using a specific (named) audio device, or the default;
+ handles the case when the selected audio device becomes unavailable (e.g., a USB stick is removed while in use);
+ if no audio device name is provided, uses the default audio device as found in System Preferences::Sound;
+ handles the case when the default audio device is in use, and the user changes that audio device in System Preferences::Sound, by internally resetting to use the newly selected audio device;
+ all non-Apple names are now lower_case, not CamelCase;
+ move osx_impl functions to gr::audio::osx, and use them correctly;
+ install osx_impl.h to expose gr::audio::osx functions, but iff OSX audio is enabled.
|
| |
|
| |
|
|
|
|
| |
PMTs are handled slightly different and are installed into their own module and include dir.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
The previous one didnt seem to be set by the build system.
Perhaps this was lost in the transition to CMake?
|
|
|
|
|
|
| |
this in the future.
The sed script was provided by Moritz Fischer.
|
| |
|
|
|
|
| |
'AudioHardwareGetProperty'
|
| |
|
|
|
|
|
| |
The audio implementations now inherit from sync block (as they used to).
And the redundant constructor in audio source/sink has been removed.
|
| |
|
| |
|
| |
|
|
|