mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-06-19 18:03:56 +02:00
Add todo regarding audioMasterGetTime
This commit is contained in:
@@ -7,6 +7,10 @@ Yet Another way to use Windows VST2 plugins in Linux VST hosts.
|
|||||||
There are a few things that should be done before releasing this, including:
|
There are a few things that should be done before releasing this, including:
|
||||||
|
|
||||||
- Fix implementation bugs:
|
- Fix implementation bugs:
|
||||||
|
- `VstTimeInfo` doesn't get passed to the plugin correctly in
|
||||||
|
`audioMasterGetTime`.
|
||||||
|
- Polish GUIs even further. There are some todos left in
|
||||||
|
`src/wine-host/editor.{h,cpp}`.
|
||||||
- There are likely some minor issues left.
|
- There are likely some minor issues left.
|
||||||
- Add missing details if any to the architecture section.
|
- Add missing details if any to the architecture section.
|
||||||
- Document what this has been tested on and what does or does not work.
|
- Document what this has been tested on and what does or does not work.
|
||||||
|
|||||||
@@ -66,8 +66,9 @@ void Editor::close() {
|
|||||||
// RAII will destroy the window and tiemrs for us
|
// RAII will destroy the window and tiemrs for us
|
||||||
win32_handle = std::nullopt;
|
win32_handle = std::nullopt;
|
||||||
|
|
||||||
// TODO: Do we need to do something on the X11 side or does the host do
|
// TODO: We might want to manually unmap the X11 window instead of having
|
||||||
// everything for us?
|
// the host do it. Right now the window editor window stays open for a
|
||||||
|
// second when removing a plugin.
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Editor::embed_into(const size_t parent_window_handle) {
|
bool Editor::embed_into(const size_t parent_window_handle) {
|
||||||
|
|||||||
@@ -328,6 +328,7 @@ class HostCallbackDataConverter : DefaultDataConverter {
|
|||||||
case audioMasterGetTime:
|
case audioMasterGetTime:
|
||||||
// Return a pointer to the `VstTimeInfo` object written in the
|
// Return a pointer to the `VstTimeInfo` object written in the
|
||||||
// function above
|
// function above
|
||||||
|
// TODO: This is incorrect!
|
||||||
return reinterpret_cast<intptr_t>(&time);
|
return reinterpret_cast<intptr_t>(&time);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
@@ -338,6 +339,7 @@ class HostCallbackDataConverter : DefaultDataConverter {
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
AEffect* plugin;
|
AEffect* plugin;
|
||||||
|
// TODO: Clean up
|
||||||
Editor& editor;
|
Editor& editor;
|
||||||
VstTimeInfo& time_info;
|
VstTimeInfo& time_info;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user