File tree Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 14
14
#include < cstring>
15
15
16
16
/*
17
- typedef char MY_TYPE;
17
+ typedef int8_t MY_TYPE;
18
18
#define FORMAT RTAUDIO_SINT8
19
19
*/
20
20
21
- typedef signed short MY_TYPE;
21
+ typedef int16_t MY_TYPE;
22
22
#define FORMAT RTAUDIO_SINT16
23
23
24
24
/*
Original file line number Diff line number Diff line change 16
16
#include < stdio.h>
17
17
18
18
/*
19
- typedef char MY_TYPE;
19
+ typedef int8_t MY_TYPE;
20
20
#define FORMAT RTAUDIO_SINT8
21
21
#define SCALE 127.0
22
22
*/
23
23
24
- typedef signed short MY_TYPE;
24
+ typedef int16_t MY_TYPE;
25
25
#define FORMAT RTAUDIO_SINT16
26
26
#define SCALE 32767.0
27
27
@@ -30,7 +30,7 @@ typedef S24 MY_TYPE;
30
30
#define FORMAT RTAUDIO_SINT24
31
31
#define SCALE 8388607.0
32
32
33
- typedef signed int MY_TYPE;
33
+ typedef int32_t MY_TYPE;
34
34
#define FORMAT RTAUDIO_SINT32
35
35
#define SCALE 2147483647.0
36
36
Original file line number Diff line number Diff line change 14
14
#include < signal.h>
15
15
16
16
/*
17
- typedef char MY_TYPE;
17
+ typedef int8_t MY_TYPE;
18
18
#define FORMAT RTAUDIO_SINT8
19
19
#define SCALE 127.0
20
20
*/
21
21
22
- typedef signed short MY_TYPE;
22
+ typedef int16_t MY_TYPE;
23
23
#define FORMAT RTAUDIO_SINT16
24
24
#define SCALE 32767.0
25
25
Original file line number Diff line number Diff line change 16
16
#include < stdio.h>
17
17
18
18
/*
19
- typedef char MY_TYPE;
19
+ typedef int8_t MY_TYPE;
20
20
#define FORMAT RTAUDIO_SINT8
21
21
*/
22
22
23
- typedef signed short MY_TYPE;
23
+ typedef int16_t MY_TYPE;
24
24
#define FORMAT RTAUDIO_SINT16
25
25
26
26
/*
You can’t perform that action at this time.
0 commit comments