cleanup
This commit is contained in:
@@ -122,15 +122,11 @@ unsigned int RageFileStore::CopyRangeTo2(BufferedTransformation &target, unsigne
|
|||||||
void RageFileSink::IsolatedInitialize(const NameValuePairs ¶meters)
|
void RageFileSink::IsolatedInitialize(const NameValuePairs ¶meters)
|
||||||
{
|
{
|
||||||
const char *fileName;
|
const char *fileName;
|
||||||
if (parameters.GetValue("OutputFileName", fileName))
|
if( !parameters.GetValue("OutputFileName", fileName) )
|
||||||
{
|
|
||||||
if( !m_file.Open( fileName, RageFile::WRITE ) ) // trucates existing data
|
|
||||||
throw OpenErr(fileName);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
ASSERT(0);
|
ASSERT(0);
|
||||||
}
|
|
||||||
|
if( !m_file.Open( fileName, RageFile::WRITE ) ) // trucates existing data
|
||||||
|
throw OpenErr(fileName);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool RageFileSink::IsolatedFlush(bool hardFlush, bool blocking)
|
bool RageFileSink::IsolatedFlush(bool hardFlush, bool blocking)
|
||||||
|
|||||||
Reference in New Issue
Block a user