Skip to content

Commit

Permalink
Fix incorrect buffer length upon loading.
Browse files Browse the repository at this point in the history
  • Loading branch information
eldarsadykov committed May 15, 2024
1 parent bbf750e commit 6746378
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ - (void)loadFileDependencies
_object->setExternalData(
idstr.c_str(),
(char *)sampleBuffer,
frames * sizeof(float) / sizeof(char),
frames * byteCount,
bufferType,
[](RNBO::ExternalDataId id, char *data) {
std::cout << "--- Buffer freed"
Expand Down

0 comments on commit 6746378

Please sign in to comment.