Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help with print statement for debugging #4

Open
zotz opened this issue Feb 17, 2021 · 1 comment
Open

Help with print statement for debugging #4

zotz opened this issue Feb 17, 2021 · 1 comment

Comments

@zotz
Copy link

zotz commented Feb 17, 2021

Is there somewhere I can put a print statement in the source so that it will print all received osc messages to the console for debugging purposes?

I have added a number in various places and recompiled. I have one that prints an extra line on startup but nothing else I have added gets triggered / printed. I have tried uncommenting at least one existing one and nothing prints there either.

It feels like nothing I send it making it in...

all the best,

drew

@voidseg
Copy link
Owner

voidseg commented Feb 24, 2021

You can have a try by uncommenting the std::cout debugging lines in VolumeCallable::call

//std::cout << data << std::endl << std::flush;

Maybe that helps. If you need more low level debugging, you can have a look at https://github.com/voidseg/libOSCpp which is used for all raw OSC handling. Just put some printfs in libOSC++ and recompile. You also could use tcpdump to debug the network traffic. Maybe there is an issue in your case.

I am happy to hear that jack-volume is still used out there :)

best regards
voidseg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants