mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-23 16:09:47 +00:00
configuration: Add audioio as a default audio_driver. (#8733)
Supported platforms are illumos and NetBSD, where it's the native audio API. Right now audio_driver defaults to OSS on these platforms.
This commit is contained in:
parent
c39765a5b7
commit
49b81f1da2
@ -178,6 +178,7 @@ enum video_driver_enum
|
||||
enum audio_driver_enum
|
||||
{
|
||||
AUDIO_RSOUND = VIDEO_NULL + 1,
|
||||
AUDIO_AUDIOIO,
|
||||
AUDIO_OSS,
|
||||
AUDIO_ALSA,
|
||||
AUDIO_ALSATHREAD,
|
||||
@ -399,6 +400,8 @@ static enum audio_driver_enum AUDIO_DEFAULT_DRIVER = AUDIO_ALSATHREAD;
|
||||
static enum audio_driver_enum AUDIO_DEFAULT_DRIVER = AUDIO_ALSA;
|
||||
#elif defined(HAVE_TINYALSA)
|
||||
static enum audio_driver_enum AUDIO_DEFAULT_DRIVER = AUDIO_TINYALSA;
|
||||
#elif defined(HAVE_AUDIOIO)
|
||||
static enum audio_driver_enum AUDIO_DEFAULT_DRIVER = AUDIO_AUDIOIO;
|
||||
#elif defined(HAVE_OSS)
|
||||
static enum audio_driver_enum AUDIO_DEFAULT_DRIVER = AUDIO_OSS;
|
||||
#elif defined(HAVE_JACK)
|
||||
@ -660,6 +663,8 @@ const char *config_get_default_audio(void)
|
||||
{
|
||||
case AUDIO_RSOUND:
|
||||
return "rsound";
|
||||
case AUDIO_AUDIOIO:
|
||||
return "audioio";
|
||||
case AUDIO_OSS:
|
||||
return "oss";
|
||||
case AUDIO_ALSA:
|
||||
|
Loading…
Reference in New Issue
Block a user