UI revamp

This commit is contained in:
chudov
2009-03-22 16:59:05 +00:00
parent 1e37155929
commit 3f8404fcaa
46 changed files with 5278 additions and 3120 deletions

View File

@@ -408,6 +408,8 @@ namespace CUETools.Codecs
_dataOffset = (ulong)pos;
if (!_IO.CanSeek || _IO.Length <= maxFileSize)
{
if (ckSize == 0x7fffffff)
throw new Exception("WAVE stream length unknown");
_dataLen = ckSize;
}
else
@@ -750,6 +752,8 @@ namespace CUETools.Codecs
try
{
started = _encoderProcess.Start();
if (started)
_encoderProcess.PriorityClass = Process.GetCurrentProcess().PriorityClass;
}
catch (Exception _ex)
{
@@ -837,6 +841,8 @@ namespace CUETools.Codecs
try
{
started = _decoderProcess.Start();
if (started)
_decoderProcess.PriorityClass = Process.GetCurrentProcess().PriorityClass;
}
catch (Exception _ex)
{