Set minimized CHUNK_SIZE and CHUNK_SIZE_HDMI

`CHUNK_SIZE` must be a multiple of 2, `CHUNK_SIZE_HDMI` a multiple of 384
Closes https://github.com/probonopd/MiniDexed/issues/33
pull/37/head
probonopd 3 years ago committed by GitHub
parent d5e98e625a
commit 046a662834
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/minidexed.h

@ -21,8 +21,8 @@
#define SAMPLE_RATE 48000
#define CHUNK_SIZE 2048
#define CHUNK_SIZE_HDMI (384 * 10)
#define CHUNK_SIZE (2 * 64)
#define CHUNK_SIZE_HDMI (384 * 5)
#define DAC_I2C_ADDRESS 0 // I2C slave address of the DAC (0 for auto probing)

Loading…
Cancel
Save