mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 06:44:27 +00:00
Merge pull request #4541 from retro-wertz/patch-1
fix Dinothawr on xaudio/dsound
This commit is contained in:
commit
3dd70df9c2
@ -283,8 +283,8 @@ static const audio_driver_t audio_thread = {
|
|||||||
**/
|
**/
|
||||||
bool audio_init_thread(const audio_driver_t **out_driver,
|
bool audio_init_thread(const audio_driver_t **out_driver,
|
||||||
void **out_data, const char *device, unsigned audio_out_rate,
|
void **out_data, const char *device, unsigned audio_out_rate,
|
||||||
unsigned *new_rate, unsigned block_frames,
|
unsigned *new_rate, unsigned latency,
|
||||||
unsigned latency, const audio_driver_t *drv)
|
unsigned block_frames, const audio_driver_t *drv)
|
||||||
{
|
{
|
||||||
audio_thread_t *thr = (audio_thread_t*)calloc(1, sizeof(*thr));
|
audio_thread_t *thr = (audio_thread_t*)calloc(1, sizeof(*thr));
|
||||||
if (!thr)
|
if (!thr)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user