mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-16 23:37:11 +00:00
(audio_thread_wrapper.c) Fix 'declaration shadows variable(s) in global scope' warnings
This commit is contained in:
parent
b38c5c6cab
commit
246b3b8d87
@ -204,16 +204,16 @@ static const audio_driver_t audio_thread = {
|
||||
};
|
||||
|
||||
bool rarch_threaded_audio_init(const audio_driver_t **out_driver, void **out_data,
|
||||
const char *device, unsigned out_rate, unsigned latency,
|
||||
const audio_driver_t *driver)
|
||||
const char *device, unsigned audio_out_rate, unsigned latency,
|
||||
const audio_driver_t *drv)
|
||||
{
|
||||
audio_thread_t *thr = (audio_thread_t*)calloc(1, sizeof(*thr));
|
||||
if (!thr)
|
||||
return false;
|
||||
|
||||
thr->driver = driver;
|
||||
thr->driver = (const audio_driver_t*)drv;
|
||||
thr->device = device;
|
||||
thr->out_rate = out_rate;
|
||||
thr->out_rate = audio_out_rate;
|
||||
thr->latency = latency;
|
||||
|
||||
if (!(thr->cond = scond_new()))
|
||||
|
Loading…
Reference in New Issue
Block a user