Skip to content

Commit 5e62511

Browse files
committed
Updated buffer size definition
1 parent 3692cee commit 5e62511

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/main/plug/plugin_template.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@
2828

2929
#include <private/plugins/plugin_template.h>
3030

31-
/* The size of temporary buffer for audio processing */
32-
#define BUFFER_SIZE 0x1000U
33-
3431
namespace lsp
3532
{
3633
namespace plugins
3734
{
35+
/* The size of temporary buffer for audio processing */
36+
static constexpr size_t BUFFER_SIZE = 0x200;
37+
3838
//---------------------------------------------------------------------
3939
// Plugin factory
4040
static const meta::plugin_t *plugins[] =

0 commit comments

Comments
 (0)