mirror of
https://github.com/libretro/RetroArch
synced 2025-01-29 09:32:52 +00:00
Remove some old RSound cruft.
This commit is contained in:
parent
4d9ff7d147
commit
1d32b3080d
@ -273,37 +273,3 @@ void audio_convert_init_simd(void)
|
||||
#endif
|
||||
}
|
||||
|
||||
#ifdef HAVE_RSOUND
|
||||
|
||||
bool rarch_rsound_start(const char *ip)
|
||||
{
|
||||
strlcpy(g_settings.audio.driver, "rsound", sizeof(g_settings.audio.driver));
|
||||
strlcpy(g_settings.audio.device, ip, sizeof(g_settings.audio.device));
|
||||
driver.audio_data = NULL;
|
||||
|
||||
// If driver already has started, it must be reinited.
|
||||
if (driver.audio_data)
|
||||
{
|
||||
uninit_audio();
|
||||
driver.audio_data = NULL;
|
||||
init_drivers_pre();
|
||||
init_audio();
|
||||
}
|
||||
return g_extern.audio_active;
|
||||
}
|
||||
|
||||
void rarch_rsound_stop(void)
|
||||
{
|
||||
strlcpy(g_settings.audio.driver, config_get_default_audio(), sizeof(g_settings.audio.driver));
|
||||
|
||||
// If driver already has started, it must be reinited.
|
||||
if (driver.audio_data)
|
||||
{
|
||||
uninit_audio();
|
||||
driver.audio_data = NULL;
|
||||
init_drivers_pre();
|
||||
init_audio();
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
@ -71,10 +71,5 @@ void audio_convert_float_to_s16_C(int16_t *out,
|
||||
|
||||
void audio_convert_init_simd(void);
|
||||
|
||||
#ifdef HAVE_RSOUND
|
||||
bool rarch_rsound_start(const char *ip);
|
||||
void rarch_rsound_stop(void);
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user