Here's the code:
CODE
if (bcount != 16)
{
check = 1;
}
if (check == 1)
{
System.err.println(infilename + " is not a valid .WAV file!");
}
{
check = 1;
}
if (check == 1)
{
System.err.println(infilename + " is not a valid .WAV file!");
}
If I comment the "bcount != 16" code out, it encodes successfully, but only at a 25% reduction where the command line encoder approaches 60%. The 25% compressed file decodes fine and plays fine. Other files get virtually identical compression rates between the windows version and the java version.
Anyone have any insight into why I get the error and why the compression seems to be compromised as a result.
Thanks.
