Fix ISizeableStream::getStreamSize implementation

This commit is contained in:
Robbert van der Helm
2021-04-29 22:49:02 +02:00
parent 4a92034620
commit 74dd7f61a2
+1 -1
View File
@@ -208,7 +208,7 @@ tresult PLUGIN_API YaBStream::tell(int64* pos) {
}
tresult PLUGIN_API YaBStream::getStreamSize(int64& size) {
size = static_cast<int64>(seek_position);
size = static_cast<int64>(buffer.size());
return Steinberg::kResultOk;
}