Micah Johnston

Results 11 issues of Micah Johnston

The `RIDL` macro generates a nice set of Rust methods on the class struct for invoking the underlying interface methods without having to manually look them up in the vtable...

The buffer for storing the variable-size [`Events`](https://github.com/RustAudio/vst-rs/blob/fd8e173b9a7db9a8f924bbed14de99d3210188c1/src/api.rs#L410-L422) structure in `SendEventBuffer` is [allocated as a `Vec`](https://github.com/RustAudio/vst-rs/blob/fd8e173b9a7db9a8f924bbed14de99d3210188c1/src/buffer.rs#L396), which does not have the alignment required for `Events`.

help wanted

In VST2, it is possible and even common for hosts to pass the same pointer for both an input and output buffer ([source](https://forums.steinberg.net/t/solved-fx-plugin-wrapped-for-vst2-receives-its-audio-input-in-the-output-buffer/201780/4)). This means that the API of `AudioBuffer`,...

help wanted

The callback is passed a `'static` reference to the audio buffer ([here](https://github.com/RustAudio/rust-portaudio/blob/9b7dfad9f15cf136c7e739f021f194663cabc680/src/stream.rs#L463) and [here](https://github.com/RustAudio/rust-portaudio/blob/9b7dfad9f15cf136c7e739f021f194663cabc680/src/stream.rs#L143); also see `Output` and `Duplex`), which allows the reference to outlive the duration of the callback....

It would be useful to have a public `AnyClass::as_ptr` method to get the underlying `*const objc_class`, analogous to the `Sel::as_ptr` method. Some info about my use case: I'm currently working...

enhancement
A-objc2

If a context is requested with alpha_bits != on X11 with Nvidia drivers, the following error is generated: ``` X Error of failed request: BadMatch (invalid parameter attributes) Major opcode...