Skip to content

Commit 0660c33

Browse files
committed
Offline tasks are optimized for better floating-point computing
1 parent fe548c0 commit 0660c33

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

CHANGELOG

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*******************************************************************************
44

55
=== 1.0.33 ===
6-
6+
* Offline tasks are optimized for better floating-point computing.
77

88
=== 1.0.32 ===
99
* Updated build scripts and dependencies.

src/main/plug/sampler_kernel.cpp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@ namespace lsp
5050

5151
status_t sampler_kernel::AFLoader::run()
5252
{
53+
dsp::context_t ctx;
54+
dsp::start(&ctx);
55+
lsp_finally { dsp::finish(&ctx); };
56+
5357
return pCore->load_file(pFile);
5458
};
5559

@@ -74,6 +78,10 @@ namespace lsp
7478

7579
status_t sampler_kernel::AFRenderer::run()
7680
{
81+
dsp::context_t ctx;
82+
dsp::start(&ctx);
83+
lsp_finally { dsp::finish(&ctx); };
84+
7785
return pCore->render_sample(pFile);
7886
};
7987

0 commit comments

Comments
 (0)