mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
accidentally removed miles variables
This commit is contained in:
parent
ed1fd25236
commit
6ee39ae6e9
@ -24,9 +24,19 @@
|
||||
Configure(config_audio);
|
||||
NotifyCategoryDef(audio, "");
|
||||
|
||||
ConfigVariableBool audio_active
|
||||
("audio-active", true);
|
||||
|
||||
ConfigVariableInt audio_cache_limit
|
||||
("audio-cache-limit", 15,
|
||||
PRC_DESC("The number of sounds in the cache."));
|
||||
|
||||
ConfigVariableString audio_library_name
|
||||
("audio-library-name", "miles_audio");
|
||||
|
||||
ConfigVariableDouble audio_volume
|
||||
("audio-volume", 1.0f);
|
||||
|
||||
// Config variables for Fmod:
|
||||
|
||||
//I should note this somewhere. The actual number of sound one could
|
||||
@ -55,6 +65,15 @@ ConfigVariableBool audio_software_midi
|
||||
ConfigVariableFilename audio_dls_file
|
||||
("audio-dls-file", "");
|
||||
|
||||
ConfigVariableBool audio_play_midi
|
||||
("audio-play-midi", true);
|
||||
|
||||
ConfigVariableBool audio_play_wave
|
||||
("audio-play-wave", true);
|
||||
|
||||
ConfigVariableBool audio_play_mp3
|
||||
("audio-play-mp3", true);
|
||||
|
||||
ConfigVariableInt audio_output_rate
|
||||
("audio-output-rate", 22050);
|
||||
|
||||
|
@ -33,6 +33,10 @@
|
||||
|
||||
NotifyCategoryDecl(audio, EXPCL_PANDA, EXPTP_PANDA);
|
||||
|
||||
extern EXPCL_PANDA ConfigVariableBool audio_active;
|
||||
extern EXPCL_PANDA ConfigVariableInt audio_cache_limit;
|
||||
extern EXPCL_PANDA ConfigVariableDouble audio_volume;
|
||||
|
||||
//We Need This one.
|
||||
extern EXPCL_PANDA ConfigVariableString audio_library_name;
|
||||
|
||||
@ -45,6 +49,9 @@ extern EXPCL_PANDA ConfigVariableBool fmod_use_surround_sound;
|
||||
|
||||
extern EXPCL_PANDA ConfigVariableBool audio_software_midi;
|
||||
extern EXPCL_PANDA ConfigVariableFilename audio_dls_file;
|
||||
extern EXPCL_PANDA ConfigVariableBool audio_play_midi;
|
||||
extern EXPCL_PANDA ConfigVariableBool audio_play_wave;
|
||||
extern EXPCL_PANDA ConfigVariableBool audio_play_mp3;
|
||||
extern EXPCL_PANDA ConfigVariableInt audio_output_rate;
|
||||
extern EXPCL_PANDA ConfigVariableInt audio_output_bits;
|
||||
extern EXPCL_PANDA ConfigVariableInt audio_output_channels;
|
||||
|
Loading…
x
Reference in New Issue
Block a user