Skip to content

Understanding Public and Private APIs in Libraries #187

Answered by drowaudio
szk2s asked this question in Q&A
Discussion options

You must be logged in to vote

The answer is "it depends". The library is constructed in such a way that you can either use it as a full framework stemming from the creation of an Engine object or several bits on their own.

Generally though I'd say you probably want to create an Engine and use the functions to retrieve objects from there so they use the same Engine settings (temp folders etc).

If there are truly private classes in the engine they tend to be inaccessible or clearly marked as such. You generally want to just include tracktion_engine.h as that will provide everything from the library in the correct order.

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by szk2s
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@szk2s
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants