/* ** WavpackContext.java ** ** Copyright (c) 2007 - 2008 Peter McQuillan ** ** All Rights Reserved. ** ** Distributed under the BSD Software License (see license.txt) ** */ package wavpack; public class WavpackContext { WavpackConfig config = new WavpackConfig(); WavpackStream stream = new WavpackStream(); byte read_buffer[] = new byte[1024]; // was uchar in C String error_message = ""; boolean error; java.io.DataInput infile; long total_samples, crc_errors, first_flags; // was uint32_t in C int open_flags, norm_offset; int reduced_channels = 0; int lossy_blocks; int status = 0; // 0 ok, 1 error }