]> git.ipfire.org Git - thirdparty/HylaFAX.git/commitdiff
Bug 488: set Class1ECMSupport and ModemSoftRTFCC to default to true
authorLee Howard <faxguy@howardsilvan.com>
Wed, 7 Jan 2004 19:20:38 +0000 (19:20 +0000)
committerLee Howard <faxguy@howardsilvan.com>
Wed, 7 Jan 2004 19:20:38 +0000 (19:20 +0000)
faxd/ModemConfig.c++
man/hylafax-config.4f

index f34ede7999f94982e6516995f9f1f1a6c56d6f5a..59286d7ff5c345e575f114119d295c31bf4d1fde 100644 (file)
@@ -232,7 +232,7 @@ ModemConfig::setupConfig()
     class2RTFCC                = false;                // real-time fax comp. conv.
     class2UseHex       = false;                // historical behavior
     class2UseLineCount = false;                // don't trust firmware decoders
-    class1ECMSupport   = false;                // "safe" behavior until our ECM matures
+    class1ECMSupport   = true;                 // "safe" behavior until our ECM matures
     class1ECMDoCTC     = true;                 // continue to correct through all bitrates
     class1TCFRecvHack  = false;                // historical behavior
     class1ValidateV21Frames = false;           // assume the modem does this
@@ -240,7 +240,7 @@ ModemConfig::setupConfig()
     recvDataFormat     = DF_ALL;               // default to no transcoding
     rtnHandling         = FaxModem::RTN_RETRANSMIT; // retransmit until MCF/MPS
     saveUnconfirmedPages = true;               // keep unconfirmed pages
-    softRTFCC          = false;                // real-time fax comp. conv. (software)
+    softRTFCC          = true;                 // real-time fax comp. conv. (software)
 }
 
 void
index 188052b13efc98bf9689681b5e943283c19c9cf5..efb269f24ff9a6e4a789abc4931e84a08a9c3b6d 100644 (file)
@@ -244,7 +244,7 @@ ModemSetupDTRCmd    string  \-      command for setting up \s-1DTR\s+1 handling
 ModemSoftFlowCmd       string  \-      command for setting software flow control between \s-1DTE\s+1 and \s-1DCE\s+1
 ModemSoftResetCmd      string  \s-1ATZ\s+1     command for doing a soft reset
 ModemSoftResetCmdDelay integer \s-13000\s+1    time, in ms, to pause after a soft reset
-ModemSoftRTFCC boolean \s-1No\s+1      enable software-driven real-time fax compression conversion
+ModemSoftRTFCC boolean \s-1Yes\s+1     enable software-driven real-time fax compression conversion
 ModemType      string  \s-1\fIsee below\fP\s+1 modem type
 ModemVerboseResultsCmd string  \s-1ATV1\s+1    command for enabling verbose result codes
 ModemWaitForConnect    boolean \s-1No\s+1      force server to wait for ``\s-1CONNECT\s+1'' response on answer
@@ -257,7 +257,7 @@ FaxT4Timer  integer \s-13100\s+1    \s-1CCITT T.30 T4\s+1 timer (ms)
 Class0Cmd      string  \s-1AT+FCLASS=0\s+1     Class 0: command to enter class 0
 .sp .5
 Class1Cmd      string  \s-1AT+FCLASS=1\s+1     Class 1: command to enter class 1
-Class1ECMSupport       boolean \s-1No\s+1      Class 1: enable T.30-A ECM support
+Class1ECMSupport       boolean \s-1Yes\s+1     Class 1: enable T.30-A ECM support
 Class1ECMDoCTC boolean \s-1Yes\s+1     Class 1: to perform CTC in ECM protocol
 Class1ECMFrameSize     integer \s-1256\s+1     Class 1: image frame size in ECM protocol
 Class1HFLOCmd  string  \-      Class 1: command to set hardware flow control