Add todo regarding audioMasterGetTime

This commit is contained in:
Robbert van der Helm
2020-04-13 14:54:20 +02:00
parent bad9916f75
commit a2ba001e2f
3 changed files with 9 additions and 2 deletions
+2
View File
@@ -328,6 +328,7 @@ class HostCallbackDataConverter : DefaultDataConverter {
case audioMasterGetTime:
// Return a pointer to the `VstTimeInfo` object written in the
// function above
// TODO: This is incorrect!
return reinterpret_cast<intptr_t>(&time);
break;
default:
@@ -338,6 +339,7 @@ class HostCallbackDataConverter : DefaultDataConverter {
private:
AEffect* plugin;
// TODO: Clean up
Editor& editor;
VstTimeInfo& time_info;
};