mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-20 09:52:33 +00:00
Cleanups
This commit is contained in:
parent
671063aec2
commit
5f3a47a725
@ -23,6 +23,7 @@
|
||||
#include <conversion/s16_to_float.h>
|
||||
|
||||
#include "audio_driver.h"
|
||||
#include "audio_dsp_filter.h"
|
||||
#include "audio_resampler_driver.h"
|
||||
#include "../record/record_driver.h"
|
||||
#include "audio_thread_wrapper.h"
|
||||
@ -842,12 +843,13 @@ bool audio_driver_init_resampler(void)
|
||||
audio_driver_data.audio_rate.source_ratio.original);
|
||||
}
|
||||
|
||||
void audio_driver_process_resampler(struct resampler_data *data)
|
||||
void audio_driver_process_resampler(void *data)
|
||||
{
|
||||
struct resampler_data *resampler = (struct resampler_data*)data;
|
||||
performance_counter_init(&resampler_proc, "resampler_proc");
|
||||
performance_counter_start(&resampler_proc);
|
||||
rarch_resampler_process(audio_driver_resampler,
|
||||
audio_driver_resampler_data, data);
|
||||
audio_driver_resampler_data, resampler);
|
||||
performance_counter_stop(&resampler_proc);
|
||||
}
|
||||
|
||||
|
@ -24,9 +24,6 @@
|
||||
#include <boolean.h>
|
||||
#include <retro_common_api.h>
|
||||
|
||||
#include "audio_dsp_filter.h"
|
||||
#include "audio_resampler_driver.h"
|
||||
|
||||
RETRO_BEGIN_DECLS
|
||||
|
||||
#define AUDIO_CHUNK_SIZE_BLOCKING 512
|
||||
@ -105,7 +102,7 @@ void audio_driver_deinit_resampler(void);
|
||||
|
||||
bool audio_driver_init_resampler(void);
|
||||
|
||||
void audio_driver_process_resampler(struct resampler_data *data);
|
||||
void audio_driver_process_resampler(void *data);
|
||||
|
||||
bool audio_driver_free_devices_list(void);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user