ReactOS 0.4.15-dev-8207-gd73a838
feature.c
Go to the documentation of this file.
1#include "mpg123lib_intern.h"
2
4{
5 return mpg123_feature(key);
6}
7
9{
10 switch(key)
11 {
13#ifdef WANT_WIN32_UNICODE
14 return 1;
15#else
16 return 0;
17#endif /* WANT_WIN32_UNICODE */
18
20#ifdef NO_8BIT
21 return 0;
22#else
23 return 1;
24#endif /* mpg123_output_8bit */
25
27#ifdef NO_16BIT
28 return 0;
29#else
30 return 1;
31#endif /* mpg123_output_16bit */
32
34#ifdef NO_32BIT
35 return 0;
36#else
37 return 1;
38#endif /* mpg123_output_32bit */
39
41#if defined(NO_REAL) || defined(REAL_IS_DOUBLE)
42 return 0;
43#else
44 return 1;
45#endif
46
48#if defined(NO_REAL) || !defined(REAL_IS_DOUBLE)
49 return 0;
50#else
51 return 1;
52#endif
53
55#ifdef NO_ID3V2
56 return 0;
57#else
58 return 1;
59#endif /* NO_ID3V2 */
60
62#ifdef NO_LAYER1
63 return 0;
64#else
65 return 1;
66#endif /* NO_LAYER1 */
67
69#ifdef NO_LAYER2
70 return 0;
71#else
72 return 1;
73#endif /* NO_LAYER2 */
74
76#ifdef NO_LAYER3
77 return 0;
78#else
79 return 1;
80#endif /* NO_LAYER3 */
81
83#ifdef ACCURATE_ROUNDING
84 return 1;
85#else
86 return 0;
87#endif /* ACCURATE_ROUNDING */
88
90#ifdef NO_DOWNSAMPLE
91 return 0;
92#else
93 return 1;
94#endif /* NO_DOWNSAMPLE */
95
97#ifdef NO_NTOM
98 return 0;
99#else
100 return 1;
101#endif /* NO_NTOM */
102
104#ifdef NO_ICY
105 return 0;
106#else
107 return 1;
108#endif /* NO_ICY */
109
111#ifdef FRAME_INDEX
112 return 1;
113#else
114 return 0;
115#endif /* FRAME_INDEX */
117#ifdef TIMEOUT_READ
118 return 1;
119#else
120 return 0;
121#endif
123#ifndef NO_EQUALIZER
124 return 1;
125#else
126 return 0;
127#endif
129#ifndef NO_MOREINFO
130 return 1;
131#else
132 return 0;
133#endif
134
135 default: return 0;
136 }
137}
#define attribute_align_arg
Definition: abi_align.h:30
int attribute_align_arg mpg123_feature2(int key)
Definition: feature.c:3
mpg123_feature_set
Definition: mpg123.h:304
int attribute_align_arg mpg123_feature(const enum mpg123_feature_set key)
Definition: feature.c:8
@ MPG123_FEATURE_INDEX
Definition: mpg123.h:309
@ MPG123_FEATURE_TIMEOUT_READ
Definition: mpg123.h:318
@ MPG123_FEATURE_DECODE_LAYER3
Definition: mpg123.h:313
@ MPG123_FEATURE_DECODE_NTOM
Definition: mpg123.h:316
@ MPG123_FEATURE_EQUALIZER
Definition: mpg123.h:319
@ MPG123_FEATURE_MOREINFO
Definition: mpg123.h:320
@ MPG123_FEATURE_PARSE_ID3V2
Definition: mpg123.h:310
@ MPG123_FEATURE_PARSE_ICY
Definition: mpg123.h:317
@ MPG123_FEATURE_OUTPUT_FLOAT32
Definition: mpg123.h:321
@ MPG123_FEATURE_OUTPUT_32BIT
Definition: mpg123.h:308
@ MPG123_FEATURE_OUTPUT_FLOAT64
Definition: mpg123.h:322
@ MPG123_FEATURE_OUTPUT_8BIT
Definition: mpg123.h:306
@ MPG123_FEATURE_ABI_UTF8OPEN
Definition: mpg123.h:305
@ MPG123_FEATURE_DECODE_ACCURATE
Definition: mpg123.h:314
@ MPG123_FEATURE_DECODE_DOWNSAMPLE
Definition: mpg123.h:315
@ MPG123_FEATURE_DECODE_LAYER2
Definition: mpg123.h:312
@ MPG123_FEATURE_OUTPUT_16BIT
Definition: mpg123.h:307
@ MPG123_FEATURE_DECODE_LAYER1
Definition: mpg123.h:311
Definition: copy.c:22