Replies: 4 comments 11 replies
-
Yes, this is absolutely possible and I admit I am totally thrilled by the idea of a text based host. You can define your own string and I would recommend a reverse-url-based one. And then, the void* is yours. Is this an OSS project? |
Beta Was this translation helpful? Give feedback.
-
Oh also I tried building your project and got a suite of errors using latest rust on my mac. Where's the best place to report them? Is there an issue tracker or some such you use at your git host? |
Beta Was this translation helpful? Give feedback.
-
Hi, |
Beta Was this translation helpful? Give feedback.
-
@jaxter184 if you wanted to do a PR it would involve the following Line 62 in c2c1dea CLAP_WINDOW_ANSI_CONSOLE (probably).
Add a comment explaining what you use the *ptr for. My guess it could be something like "the *ptr can be cast to a C Write a tiny demo which uses this somewhere in a CLAP. Or draft one of us to help do that. I think it would be super fun, for instance, to write an ansi terminal spectral viewer Roll it up and make a PR against next (optional but handy) send a PR to clap-info https://github.com/free-audio/clap-info/blob/d3608ac3d89a6cb349160b979b1d0cc3ae68f4ac/src/clap-info/info-other-extensions.cpp#L68 to detect your feature or open an issue reminding us to do so I think the only hard part is what's the C99-compatible ABI stable meaning of the wdyt? |
Beta Was this translation helpful? Give feedback.
-
I've got a TUI-based host and accompanying plugin suite, and I was planning to create a custom extension for it, but it occurred to me that I could maybe use the gui extension. I understand that my use case is extremely fringe, and I would be extremely surprised if anyone else wanted to use it, but there's a comment in
gui.h
that says:so I figured I'd leave a comment here just in case.
My understanding is that I can just define my own
CLAP_WINDOW_API_VT100
constant and use thevoid *ptr; // for anything defined outside of clap
union field, and I can implement it using the gui extension without making any changes to the clap headers. Is this understanding correct? Is there any meaningful benefit to making an issue to add my weird edge case?Beta Was this translation helpful? Give feedback.
All reactions