mirror of
https://github.com/reactos/reactos.git
synced 2025-08-01 23:53:07 +00:00
[MPG123] Update to version 1.26.1. CORE-17098
This commit is contained in:
parent
cab7e9ade8
commit
aa811c00e3
27 changed files with 2163 additions and 710 deletions
27
sdk/lib/3rdparty/libmpg123/feature.c
vendored
27
sdk/lib/3rdparty/libmpg123/feature.c
vendored
|
@ -1,6 +1,11 @@
|
|||
#include "mpg123lib_intern.h"
|
||||
|
||||
int mpg123_feature(const enum mpg123_feature_set key)
|
||||
int attribute_align_arg mpg123_feature2(int key)
|
||||
{
|
||||
return mpg123_feature(key);
|
||||
}
|
||||
|
||||
int attribute_align_arg mpg123_feature(const enum mpg123_feature_set key)
|
||||
{
|
||||
switch(key)
|
||||
{
|
||||
|
@ -32,6 +37,20 @@ int mpg123_feature(const enum mpg123_feature_set key)
|
|||
return 1;
|
||||
#endif /* mpg123_output_32bit */
|
||||
|
||||
case MPG123_FEATURE_OUTPUT_FLOAT32:
|
||||
#if defined(NO_REAL) || defined(REAL_IS_DOUBLE)
|
||||
return 0;
|
||||
#else
|
||||
return 1;
|
||||
#endif
|
||||
|
||||
case MPG123_FEATURE_OUTPUT_FLOAT64:
|
||||
#if defined(NO_REAL) || !defined(REAL_IS_DOUBLE)
|
||||
return 0;
|
||||
#else
|
||||
return 1;
|
||||
#endif
|
||||
|
||||
case MPG123_FEATURE_PARSE_ID3V2:
|
||||
#ifdef NO_ID3V2
|
||||
return 0;
|
||||
|
@ -106,6 +125,12 @@ int mpg123_feature(const enum mpg123_feature_set key)
|
|||
#else
|
||||
return 0;
|
||||
#endif
|
||||
case MPG123_FEATURE_MOREINFO:
|
||||
#ifndef NO_MOREINFO
|
||||
return 1;
|
||||
#else
|
||||
return 0;
|
||||
#endif
|
||||
|
||||
default: return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue