aboutsummaryrefslogtreecommitdiff
path: root/src/typedef.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/typedef.h')
-rw-r--r--src/typedef.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/typedef.h b/src/typedef.h
index b6b2b29..180d100 100644
--- a/src/typedef.h
+++ b/src/typedef.h
@@ -16,12 +16,10 @@
#define BUF_CAP 65500 // max datagram size with some bytes left for the headers and things
-#define FRAMES 32
+#define FRAMES 64
#define BITRATE 16
#define SAMPLING_RATE 44100
#define CHANNELS 2
-
-#define TEMP_BUF_SZ (FRAMES * CHANNELS * 2) // 2 bytes per sample
#define REC_CAP ((BITRATE * SAMPLING_RATE * CHANNELS)/240) // 30th of a second of audio
#define VID_CAP (BUF_CAP - ((2*(sizeof(int))) + REC_CAP))