overdrivenpotato / rust-vst2

VST 2.4 API implementation in rust. Create plugins or hosts.
MIT License
223 stars 23 forks source link

Added support for CanDo strings for querying host capabilities. #17

Closed Boscop closed 8 years ago

Boscop commented 8 years ago

While I was implementing a Host, I saw the need to reply to CanDo requests from plugins, therefore I added support for them in the host. This required using the function read_string() which was previously only defined in the scope of the dispatch() function of plugins, so I pulled it out of that scope into the module scope, so both plugin and host dispatchers can use it to read strings from ptr.

For more info on CanDo strings, see this. They don't just apply to querying plugins, also hosts.

Boscop commented 8 years ago

Apparently the build is failing on CI because of this: https://github.com/rust-lang/rust/issues/19925 https://github.com/rust-lang/rust/issues/37017 How to proceed?

overdrivenpotato commented 8 years ago

👍 tests should now be fixed on master