mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 08:44:19 -04:00
some tuning
This commit is contained in:
parent
7b1c301acf
commit
a57f270f33
@ -159,7 +159,7 @@ void AudioManager::ns_spawn_update(void) {
|
|||||||
if (_quit == (bool*)0L)
|
if (_quit == (bool*)0L)
|
||||||
_quit = new bool(false);
|
_quit = new bool(false);
|
||||||
*_quit = false;
|
*_quit = false;
|
||||||
_spawned = thread::create(spawned_update, _quit, thread::PRIORITY_NORMAL);
|
_spawned = thread::create(spawned_update, _quit, thread::PRIORITY_LOW);
|
||||||
} else {
|
} else {
|
||||||
audio_cat->error() << "tried to spawn 2 update threads" << endl;
|
audio_cat->error() << "tried to spawn 2 update threads" << endl;
|
||||||
}
|
}
|
||||||
|
@ -20,7 +20,7 @@ string* audio_driver_params;
|
|||||||
int audio_buffer_size = config_audio.GetInt("audio-buffer-size", 4096);
|
int audio_buffer_size = config_audio.GetInt("audio-buffer-size", 4096);
|
||||||
string* audio_device;
|
string* audio_device;
|
||||||
int audio_auto_update_delay = config_audio.GetInt("audio-auto-update-delay",
|
int audio_auto_update_delay = config_audio.GetInt("audio-auto-update-delay",
|
||||||
100000);
|
1000000);
|
||||||
bool audio_is_active = config_audio.GetBool("audio-is-active", true);
|
bool audio_is_active = config_audio.GetBool("audio-is-active", true);
|
||||||
|
|
||||||
ConfigureFn(config_audio) {
|
ConfigureFn(config_audio) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user