vircadia / vircadia-native-core

Vircadia open source agent-based metaverse ecosystem.
https://vircadia.com/
Other
531 stars 175 forks source link

Native cient library APIs for audio mixer. #1643

Closed namark closed 2 years ago

namark commented 2 years ago

This issue is in context of https://github.com/vircadia/vircadia/tree/unity-sdk/libraries/vircadia-client Work on this issue should be based on unity-sdk branch, and PRs made against it.

The APIs in terms of overall structure should be implemented similar to messages APIs - a separate class in the src/internal directory accessible as a field of the internal Context class, with C API free functions defined in separate files in src directory that would make use of it.

The main difficulties compared to messaging API

Other Notes

While not strictly necessary for the current use case in Unity SDK, the user facing C API headers need to be explicitly added here: https://github.com/namark/vircadia/blob/vircadia-client-package-config/libraries/vircadia-client/CMakeLists.txt#L70-L80 The unit test files also need to be explicitly added in the relevant CMake file here: https://github.com/namark/vircadia/blob/vircadia-client-package-config/libraries/vircadia-client/tests/CMakeLists.txt#L4 Related Unity SDK issue: https://github.com/vircadia/vircadia-unity-sdk/issues/6

Progress checklist