Using macros for sizes in the demo

This commit is contained in:
Jean-Marc Valin 2019-03-27 14:12:52 -04:00
parent 9f78e58392
commit 77d02dbd2f
2 changed files with 13 additions and 11 deletions

View file

@ -49,6 +49,8 @@
#define LPCNET_COMPRESSED_SIZE 8
/** Number of audio samples in a packet. */
#define LPCNET_PACKET_SAMPLES (4*160)
/** Number of audio samples in a feature frame (not for encoding/decoding). */
#define LPCNET_FRAME_SIZE (160)
typedef struct LPCNetState LPCNetState;