From 5b2f22c4b401b867cac9d57a896654780f6a46ac Mon Sep 17 00:00:00 2001 From: Cary Sandvig Date: Mon, 2 Apr 2001 19:17:29 +0000 Subject: [PATCH] more debugging --- panda/src/audio/audio_win_traits.cxx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/panda/src/audio/audio_win_traits.cxx b/panda/src/audio/audio_win_traits.cxx index fe05b66dc5..1e4afe382b 100644 --- a/panda/src/audio/audio_win_traits.cxx +++ b/panda/src/audio/audio_win_traits.cxx @@ -623,10 +623,15 @@ WinMusic* WinMusic::load_midi(Filename filename) { } */ MULTI_TO_WIDE(fdesc.wszFileName, filename.to_os_specific().c_str()); - if (filename.is_local()) + audio_cat->debug() << "os_specific name '" << filename.to_os_specific() + << "'" << endl; + if (filename.is_local()) { fdesc.dwValidData = DMUS_OBJ_CLASS | DMUS_OBJ_FILENAME; - else + audio_cat->debug() << "is local" << endl; + } else { fdesc.dwValidData = DMUS_OBJ_CLASS | DMUS_OBJ_FILENAME | DMUS_OBJ_FULLPATH; + audio_cat->debug() << "is not local" << endl; + } result = loader->GetObject(&fdesc, IID_IDirectMusicSegment2, (void**)&(ret->_music)); if (FAILED(result)) {