summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rw-r--r--source/saw/main.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/source/saw/main.c b/source/saw/main.c
index 1a51aeb..838b4fe 100644
--- a/source/saw/main.c
+++ b/source/saw/main.c
@@ -70,11 +70,7 @@ enum {
CHANNEL_COUNT = 2,
SAMPLE_RATE = 44100,
-#ifdef __EMSCRIPTEN__
- BUFFER_SIZE = 1024 * 16,
-#else
- BUFFER_SIZE = 1024 * 8,
-#endif
+ BUFFER_SIZE = 1024 * 16,
REFERENCE_PITCH_INDEX = 5 * 12, // index of A_4
@@ -3070,8 +3066,8 @@ static void saw_cleanup(void) {
fprintf(f, "time %lld\n", roll->time);
fprintf(f, "duration %lld\n", roll->duration);
fprintf(f, "loop_duration %lld\n", roll->loop_duration);
- fprintf(f, "ui_offset %lld %lld\n\n",
- roll->ui_offset_x, roll->ui_offset_y);
+ fprintf(f, "ui_offset %lld %lld\n\n", roll->ui_offset_x,
+ roll->ui_offset_y);
}
// Save tracks