mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
choose an appropriate default audio library
This commit is contained in:
parent
0992109979
commit
fe8a5d19ed
@ -36,7 +36,15 @@ ConfigVariableInt audio_cache_limit
|
|||||||
PRC_DESC("The number of sounds in the cache."));
|
PRC_DESC("The number of sounds in the cache."));
|
||||||
|
|
||||||
ConfigVariableString audio_library_name
|
ConfigVariableString audio_library_name
|
||||||
("audio-library-name", "miles_audio");
|
("audio-library-name",
|
||||||
|
#if defined(HAVE_RAD_MSS)
|
||||||
|
"miles_audio"
|
||||||
|
#elif defined(HAVE_FMODEX)
|
||||||
|
"fmod_audio"
|
||||||
|
#else
|
||||||
|
""
|
||||||
|
#endif
|
||||||
|
);
|
||||||
|
|
||||||
ConfigVariableDouble audio_volume
|
ConfigVariableDouble audio_volume
|
||||||
("audio-volume", 1.0f);
|
("audio-volume", 1.0f);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user