Skip to content

Feature/oals rt shim#4

Open
jonathan-reichardt wants to merge 2 commits into
masterfrom
feature/oals-rt-shim
Open

Feature/oals rt shim#4
jonathan-reichardt wants to merge 2 commits into
masterfrom
feature/oals-rt-shim

Conversation

@jonathan-reichardt

@jonathan-reichardt jonathan-reichardt commented Jun 10, 2026

Copy link
Copy Markdown

Here Linux CI also fails, because of ALSA in io_sim. But since I'd remove that next, I don't see a point in getting it running here first.

Not yet ready for merge, since OAN should be merged first and the submodule updated here

@Moi78 Moi78 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Clean implementation. Not much to say.

Comment thread engine/main.cpp
std::cerr << "Failed to set affinity..." << std::endl;
}
}
#include <OpenAudioNetwork/netutils/rt.h>

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Style: OAN is a "local" library, not a system one, so it should use quotes instead of brackets

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, understood. Is this a project preference or a general C++ thing?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

More a general cpp thing. But it is just styling, it doesn't change anything regarding functionality

Comment thread io_sim/main.cpp
std::cerr << "Failed to set thread realtime..." << std::endl;
}
}
#include <OpenAudioNetwork/netutils/rt.h>

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same comment as in engine/main.cpp

Comment thread io_sim/main.cpp
#include <cmath>
#include <chrono>
#include <queue>
#include <ctime>

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe I missed the line, but I can't see where this header is used.
In C++ we prefer to use the std::chrono library. (Btw that library is a great example of how annoying deep namespaces are)

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.

2 participants