Parity errors in NIC are now ignored.

Clean up the code to make it easier to understand. Now the logic to error correct the NIC makes more sense.
This commit is contained in:
EdFuentetaja
2014-03-01 20:35:46 +08:00
parent 9b9cb78ddf
commit d7b36f32c0
7 changed files with 137 additions and 134 deletions

View File

@@ -223,6 +223,7 @@ initState (dsd_state * state)
state->debug_audio_errors = 0;
state->debug_header_errors = 0;
state->debug_header_critical_errors = 0;
}
void
@@ -325,6 +326,7 @@ cleanupAndExit (dsd_opts * opts, dsd_state * state)
printf("\n");
printf("Total audio errors: %i\n", state->debug_audio_errors);
printf("Total header errors: %i\n", state->debug_header_errors);
printf("Total irrecoverable header errors: %i\n", state->debug_header_critical_errors);
printf ("Exiting.\n");
exit (0);