Skip to content

rimasaviz/elkcpp

 
 

Repository files navigation

Sushi - gRPC controller wrapper

A simple wrapper for controlling sushi over gRPC via c++.

Installation

Clone the repository and generate the build directory with the generate script using:

$ ./generate --cmake-args="-DPROTO_FILE_PATH=your/path/to/sushi_rpc.proto"

If you want to use the default sushi_rpc.proto path /usr/share/sushi_sushi_rpc.proto which is installed with sushi use:

$ ./generate

Build the library by moving either into either the debug or the release folder and then using:

$ make

Finally install into the prefix specified with cmake with:

$ make install

Include in CMake-base Projects

Add the elkcpp folder to you project folder and in your CMakeLists.txt add:

add_subdirectory($PATH_TO_ELKCPP)
target_link_libraries($YOUR_TARGET elkcpp)

Usage

Include the library to your source file using:

#include "sushi_client.h"

To create a controller instance use:

std::shared_ptr<sushi_controller::ControlInterface> controller = sushi_controller::CreateSushiController();

A more in depth example can be found here.

About

C++ library to control the Elk Audio OS DAW via gRPC.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 88.6%
  • CMake 8.9%
  • Shell 2.5%