return error != 0;
}
-// empry constructor
+// empty constructor
SGSoundSample::SGSoundSample() :
buffer(0),
source(0),
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.");
}