Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PsychPortAudio: Suppress chatty Linux debug output/warnings at verbos…
…ity < 6. Both the ALSA backend and the JACK backend spill lots of pointless debug output to stderr, so use dlsym() to get access to their error callback functions and hook up useful or dummy callbacks which suppress debug output to the console, depending on verbosity level. This requires -ldl for the Linux Octave/Matlab/Python build scripts to have dynamic linking/symbol resolution support for PsychPortAudio. Also make other output less chatty. And improve help text output in case of selection of unsupported samplerate or channel count. -> Lots of cosmetic, but the amount of spillage was getting a bit too much, even for me.
- Loading branch information
Showing
4 changed files
with
78 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters