Skip to content

Conversation

@marcopennelli
Copy link

Updated all OSC message handler function signatures from the legacy API:
int handler(..., void *data, void *user_data)
to the current liblo API:
int handler(..., lo_message msg, void *user_data)

This resolves compilation errors with modern liblo versions where the lo_method_handler typedef expects lo_message as the 5th parameter.

Changes:

  • Updated handler signatures in control_osc.hpp/cpp
  • Updated GUI handlers in gui/loop_control.hpp/cpp
  • Updated console handlers in slconsole.cpp
  • Fixed all function calls to pass msg instead of data
  • Removed conflicting lo_message reassignments

Fixes build compatibility with current liblo library versions.

Updated all OSC message handler function signatures from the legacy API:
  int handler(..., void *data, void *user_data)
to the current liblo API:
  int handler(..., lo_message msg, void *user_data)

This resolves compilation errors with modern liblo versions where the
lo_method_handler typedef expects lo_message as the 5th parameter.

Changes:
- Updated handler signatures in control_osc.hpp/cpp
- Updated GUI handlers in gui/loop_control.hpp/cpp
- Updated console handlers in slconsole.cpp
- Fixed all function calls to pass msg instead of data
- Removed conflicting lo_message reassignments

Fixes build compatibility with current liblo library versions.
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

Successfully merging this pull request may close these issues.

1 participant