Commit e309be22 authored by Christian Frisson's avatar Christian Frisson

Allow block sizes lower than 64 down to 1

parent 8268ab80
Pipeline #837 failed with stage
in 0 seconds
......@@ -36,7 +36,7 @@ typedef double t_floatarg;
#define ERROR error(
void *pd_tilde_class;
#define MAXPDSTRING 4096
#define DEFDACBLKSIZE 64
#define DEFDACBLKSIZE 1
#endif /* MSP */
#ifdef PD
......
......@@ -61,6 +61,12 @@
<span data-i18n="prefs.audio.blocksize"></span>
<select id="blocksize"
onchange="attr_change(this);">
<option value="1">1</option>
<option value="2">2</option>
<option value="4">4</option>
<option value="8">8</option>
<option value="16">16</option>
<option value="32">32</option>
<option value="64">64</option>
<option value="128">128</option>
<option value="256">256</option>
......
......@@ -7,7 +7,7 @@
#include "m_pd.h"
#include <string.h>
#define DEFSENDVS 64 /* LATER get send to get this from canvas */
#define DEFSENDVS 1 /* LATER get send to get this from canvas */
/* ----------------------------- send~ ----------------------------- */
static t_class *sigsend_class;
......
......@@ -81,7 +81,7 @@ EXTERN void sys_register_loader(loader_t loader);
#define SENDDACS_YES 1
#define SENDDACS_SLEPT 2
#define DEFDACBLKSIZE 64
#define DEFDACBLKSIZE 1
extern int sys_schedblocksize; /* audio block size for scheduler */
extern int sys_hipriority; /* real-time flag, true if priority boosted */
extern t_sample *sys_soundout;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment