mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 03:32:46 +00:00
Simplify audio_convert_get_cpu_features
This commit is contained in:
parent
0c1d639911
commit
c21f84fd9b
@ -50,7 +50,6 @@ void audio_convert_s16_to_float_C(float *out,
|
||||
out[i] = (float)in[i] * gain;
|
||||
}
|
||||
|
||||
|
||||
#if defined(__SSE2__)
|
||||
/**
|
||||
* audio_convert_s16_to_float_SSE2:
|
||||
@ -231,26 +230,9 @@ void audio_convert_s16_to_float_ALLEGREX(float *out,
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifndef RARCH_INTERNAL
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
retro_get_cpu_features_t perf_get_cpu_features_cb;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
static unsigned audio_convert_get_cpu_features(void)
|
||||
{
|
||||
#ifdef RARCH_INTERNAL
|
||||
return cpu_features_get();
|
||||
#else
|
||||
return perf_get_cpu_features_cb();
|
||||
#endif
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user