From 0e7bdc208bb132115281d979b8e7193c89357aae Mon Sep 17 00:00:00 2001 From: fredb Date: Fri, 12 Dec 2008 07:41:44 +0000 Subject: [PATCH] Print the name of the file generating an OpenAL error --- simgear/sound/sample_openal.cxx | 1 + 1 file changed, 1 insertion(+) 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."); } -- 2.39.5