mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-09 20:29:10 +02:00
Fix ISizeableStream::getStreamSize implementation
This commit is contained in:
@@ -208,7 +208,7 @@ tresult PLUGIN_API YaBStream::tell(int64* pos) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
tresult PLUGIN_API YaBStream::getStreamSize(int64& size) {
|
tresult PLUGIN_API YaBStream::getStreamSize(int64& size) {
|
||||||
size = static_cast<int64>(seek_position);
|
size = static_cast<int64>(buffer.size());
|
||||||
return Steinberg::kResultOk;
|
return Steinberg::kResultOk;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user