From: fredb Date: Fri, 12 Dec 2008 07:41:44 +0000 (+0000) Subject: Print the name of the file generating an OpenAL error X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0e7bdc208bb132115281d979b8e7193c89357aae;p=simgear.git Print the name of the file generating an OpenAL error --- diff --git a/simgear/sound/sample_openal.cxx b/simgear/sound/sample_openal.cxx index 103387ed..52eaea18 100644 --- a/simgear/sound/sample_openal.cxx +++ b/simgear/sound/sample_openal.cxx @@ -145,6 +145,7 @@ SGSoundSample::SGSoundSample( const char *path, const char *file, bool _no_Doppl alBufferData( buffer, format, data, size, freq ); if ( print_openal_error("constructor (alBufferData)") ) { + SG_LOG( SG_GENERAL, SG_ALERT, "Trying to use file " << file ); throw sg_exception("Failed to buffer data."); }