mirror of
https://github.com/libretro/RetroArch
synced 2025-02-28 12:40:23 +00:00
Cleanups
This commit is contained in:
parent
96b673f809
commit
cde1fb0490
@ -39,7 +39,7 @@
|
|||||||
#define AUDIO_BUFFER_FREE_SAMPLES_COUNT (8 * 1024)
|
#define AUDIO_BUFFER_FREE_SAMPLES_COUNT (8 * 1024)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef struct audio_driver_input_data
|
struct audio_driver_input_data
|
||||||
{
|
{
|
||||||
float *data;
|
float *data;
|
||||||
|
|
||||||
@ -89,7 +89,7 @@ typedef struct audio_driver_input_data
|
|||||||
unsigned buf[AUDIO_BUFFER_FREE_SAMPLES_COUNT];
|
unsigned buf[AUDIO_BUFFER_FREE_SAMPLES_COUNT];
|
||||||
uint64_t count;
|
uint64_t count;
|
||||||
} free_samples;
|
} free_samples;
|
||||||
} audio_driver_input_data_t;
|
};
|
||||||
|
|
||||||
static const audio_driver_t *audio_drivers[] = {
|
static const audio_driver_t *audio_drivers[] = {
|
||||||
#ifdef HAVE_ALSA
|
#ifdef HAVE_ALSA
|
||||||
@ -154,7 +154,7 @@ static const audio_driver_t *audio_drivers[] = {
|
|||||||
NULL,
|
NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
static audio_driver_input_data_t audio_driver_data;
|
static struct audio_driver_input_data audio_driver_data;
|
||||||
static struct retro_audio_callback audio_callback;
|
static struct retro_audio_callback audio_callback;
|
||||||
static struct string_list *audio_driver_devices_list = NULL;
|
static struct string_list *audio_driver_devices_list = NULL;
|
||||||
static struct retro_perf_counter resampler_proc = {0};
|
static struct retro_perf_counter resampler_proc = {0};
|
||||||
|
@ -20,6 +20,7 @@
|
|||||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
*/
|
*/
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
#include <stddef.h>
|
||||||
|
|
||||||
#if defined(__SSE2__)
|
#if defined(__SSE2__)
|
||||||
#include <emmintrin.h>
|
#include <emmintrin.h>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user