Changeset 200 for libmpc/branches/r2d/mpcenc/mpcenc.c
- Timestamp:
- 01/20/07 20:23:32 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libmpc/branches/r2d/mpcenc/mpcenc.c
r195 r200 58 58 double Duration = 1.e+99; // Maximum encoded audio length 59 59 mpc_bool_t FrontendPresent = 0; // Flag for frontend-detection 60 mpc_bool_t XLevel = 1; // Encode extreme levels with relative SCFs61 60 62 61 #if MPPENC_MINOR % 2 == 0 … … 296 295 stderr_printf ( 297 296 " --minval x calculation of MinVal (1:Buschmann, 2,3:Klemm)\n" ); 298 stderr_printf (299 " --noxlevel use old filterbank clipping solving strategy\n" );300 297 stderr_printf ( 301 298 "\n" ); … … 973 970 m->ShortThr = (float) atof (argv[k]); 974 971 } 975 else if ( 0 == strcmp ( arg, "noxlevel") ) { // Xlevel976 XLevel = 0;977 }978 else if ( 0 == strcmp ( arg, "xlevel") ) { // Xlevel979 stderr_printf ( "\nXlevel coding now enabled by default, --xlevel ignored.\n" );980 }981 972 else if ( 0 == strcmp ( arg, "nmt") ) { // NMT 982 973 if ( ++k >= argc ) { stderr_printf ( errmsg, arg ); return -1; } … … 1262 1253 " to file '%s'\n" 1263 1254 "\n" 1264 " SV %u .%u%s, Profile '%s'\n",1265 inDatei, outDatei, 7, m->PNS > 0 ? 1 : 0, XLevel ? " + XLevel coding" : "", Profiles [m->MainQual] );1255 " SV %u, Profile '%s'\n", 1256 inDatei, outDatei, 8, Profiles [m->MainQual] ); 1266 1257 1267 1258 if ( verbose > 0 ) { … … 1421 1412 { 1422 1413 if ( e->Overflows > 0 ) { // report internal clippings 1423 if ( XLevel == 0 ) { 1424 stderr_printf ( "\n" 1425 "\033[1m\rWARNING:\n" 1426 "\033[0m\r There occured %u internal clippings due to a restriction of StreamVersion 7.\n" 1427 " Re-encode with '--scale %.3f', or use option '--xlevel', which normally can\n" 1428 " handle this situation but don't work well with old decoders.\a\n\n", 1429 e->Overflows, ScalingFactorl * 32767. / MaxOverFlow - 0.0005f ); 1430 } 1431 else { 1432 stderr_printf ( "\n" 1433 "\033[1m\rWARNING:\n" 1434 "\033[0m\r There still occured %u SCF clippings due to a restriction of StreamVersion 7.\n" 1435 " Use the '--scale' method to avoid additional distortions. Note that this\n" 1436 " file already has annoying distortions due to slovenly CD mastering.\a\n\n", e->Overflows ); 1437 } 1414 stderr_printf ( "\n" 1415 "\033[1m\rWARNING:\n" 1416 "\033[0m\r There still occured %u SCF clippings.\n" 1417 " Use the '--scale' method to avoid additional distortions. Note that this\n" 1418 " file already has annoying distortions due to slovenly CD mastering.\a\n\n", e->Overflows ); 1438 1419 } 1439 1420 }
Note: See TracChangeset
for help on using the changeset viewer.