-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
/
defs_recording.h
35 lines (30 loc) · 1.01 KB
/
defs_recording.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#ifndef __RECORDING_DEFS_H__
#define __RECORDING_DEFS_H__
#define RECORDING_PREF_KEY "[Recording]"
#define ENCODING_WAVE "WAV"
#define ENCODING_FLAC "FLAC"
#define ENCODING_AIFF "AIFF"
#define ENCODING_OGG "OGG"
#define ENCODING_MP3 "MP3"
#define RECORD_OFF 0.0
#define RECORD_READY 1.0
#define RECORD_ON 2.0
#define RECORD_SPLIT_CONTINUE 3.0
//File options for preferences Splitting
#define SPLIT_650MB "650 MB (CD)"
#define SPLIT_700MB "700 MB (CD)"
#define SPLIT_1024MB "1 GB"
#define SPLIT_2048MB "2 GB"
#define SPLIT_4096MB "4 GB"
#define SPLIT_60MIN "60 Minutes"
#define SPLIT_74MIN "74 Minutes (CD)"
#define SPLIT_80MIN "80 Minutes (CD)"
#define SPLIT_120MIN "120 Minutes"
// Byte conversions. Slightly rounded to leave enough room to add
// closing frames by the encoder. All sizes are in bytes.
#define SIZE_650MB Q_UINT64_C(680000000)
#define SIZE_700MB Q_UINT64_C(730000000)
#define SIZE_1GB Q_UINT64_C(1070000000)
#define SIZE_2GB Q_UINT64_C(2140000000)
#define SIZE_4GB Q_UINT64_C(4280000000)
#endif