Skip to content

Commit 6042086

Browse files
Update to latest
Enable a larger audio buffer
1 parent 4da3f33 commit 6042086

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/mpconfigport.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@
6363
#define MICROPY_USE_INTERNAL_PRINTF (0)
6464
#define MICROPY_ENABLE_PYSTACK (1)
6565
#define MICROPY_ENABLE_SCHEDULER (1)
66+
#define MICROPY_SCHEDULER_STATIC_NODES (1)
6667

6768
// Fine control over Python builtins, classes, modules, etc
6869
#define MICROPY_PY_BUILTINS_STR_UNICODE (1)
@@ -127,4 +128,6 @@ extern uint32_t rng_generate_random_word(void);
127128
#define MICROPY_MAKE_POINTER_CALLABLE(p) \
128129
((mp_raise_NotImplementedError(MP_ERROR_TEXT("simulator limitation: asm_thumb code"))), p)
129130

131+
#define AUDIO_OUTPUT_BUFFER_SIZE (256) // this can be any value, defaults to 32 bytes
132+
130133
#endif

0 commit comments

Comments
 (0)