From 9cfe8c421dd81a12091855aed10780daafaf7593 Mon Sep 17 00:00:00 2001 From: chrisgeorges <> Date: Wed, 26 Feb 2003 21:12:55 +0000 Subject: [PATCH] undo erroneous comment-out? --- panda/src/audiotraits/milesAudioManager.cxx | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/panda/src/audiotraits/milesAudioManager.cxx b/panda/src/audiotraits/milesAudioManager.cxx index 2a1adf52c3..ddb75d4a40 100644 --- a/panda/src/audiotraits/milesAudioManager.cxx +++ b/panda/src/audiotraits/milesAudioManager.cxx @@ -119,22 +119,23 @@ MilesAudioManager() { audio_output_bits, audio_output_channels)) { if (audio_software_midi) { // Load the downloadable sounds file: + HDLSDEVICE dls; AIL_quick_handles(0, 0, &dls); nassertv(audio_dls_file); nassertv(!_dls_field); if (audio_dls_file->empty()) { - audio_debug(" using default audio_dls_file"); get_gm_file_path(*audio_dls_file); + // we need more dbg info in logs, so bumping the msgs from 'debug' status to 'info' status + audio_info(" using default audio_dls_file: "<< (*audio_dls_file) ); } -#if 0 audio_debug(" audio_dls_file=\""<<*audio_dls_file<<"\""); + + // note: if AIL_DLS_load_file is not done, midi fails to play on some machines. _dls_field=AIL_DLS_load_file(dls, audio_dls_file->c_str(), 0); if (!_dls_field) { - audio_error(" AIL_DLS_load_file() failed, \""<