This commit is contained in:
Glenn Maynard
2004-06-06 23:22:42 +00:00
parent 32f6d7e7fc
commit ba37f3bb47
+4 -8
View File
@@ -122,15 +122,11 @@ unsigned int RageFileStore::CopyRangeTo2(BufferedTransformation &target, unsigne
void RageFileSink::IsolatedInitialize(const NameValuePairs &parameters)
{
const char *fileName;
if (parameters.GetValue("OutputFileName", fileName))
{
if( !m_file.Open( fileName, RageFile::WRITE ) ) // trucates existing data
throw OpenErr(fileName);
}
else
{
if( !parameters.GetValue("OutputFileName", fileName) )
ASSERT(0);
}
if( !m_file.Open( fileName, RageFile::WRITE ) ) // trucates existing data
throw OpenErr(fileName);
}
bool RageFileSink::IsolatedFlush(bool hardFlush, bool blocking)