aboutsummaryrefslogtreecommitdiff
path: root/src/defines.h
blob: 3d4bc31c1f8b3cece3795ee6bedb252c1a8b2fc6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef DEFINES_H_
#define DEFINES_H_

#define MESSAGE_QUEUE_SIZE 128
#define SAMPLE_RATE 48000
#define PERIOD_SIZE 480
#define DISPLAY_SAMPLES (PERIOD_SIZE * 2)

static const int SCREEN_FPS = 60;
static const int SCREEN_TICKS_PER_FRAME = 1000 / SCREEN_FPS;

static const int FONT_ID = 0;

#define DEFAULT_DIMENSIONS_HEIGHT 720
#define DEFAULT_DIMENSIONS_WIDTH 1280

#endif // DEFINES_H_