diff options
Diffstat (limited to 'src/lib/formats/csw_cas.c')
-rw-r--r-- | src/lib/formats/csw_cas.c | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/src/lib/formats/csw_cas.c b/src/lib/formats/csw_cas.c index 575e0e80499..58aa66c7348 100644 --- a/src/lib/formats/csw_cas.c +++ b/src/lib/formats/csw_cas.c @@ -27,7 +27,7 @@ Offset Value Type Description #include "csw_cas.h" -#define CSW_WAV_FREQUENCY 44100 +#define CSW_WAV_FREQUENCY 44100 static const UINT8 CSW_HEADER[] = { "Compressed Square Wave" }; @@ -50,11 +50,11 @@ UINT8 Flags; UINT8 HeaderExtensionLength; UINT8 *gz_ptr = NULL; -int total_size; -z_stream d_stream; -int err; -UINT8 *in_ptr; -int bsize=0; +int total_size; +z_stream d_stream; +int err; +UINT8 *in_ptr; +int bsize=0; if ( memcmp( casdata, CSW_HEADER, sizeof(CSW_HEADER) ) ) { LOG_FORMATS( "csw_cas_to_wav_size: cassette image has incompatible header\n" ); @@ -178,12 +178,12 @@ UINT8 HeaderExtensionLength; INT8 Bit; UINT8 *gz_ptr = NULL; -int total_size; -z_stream d_stream; -int err; -UINT8 *in_ptr; -int bsize=0; -int i; +int total_size; +z_stream d_stream; +int err; +UINT8 *in_ptr; +int bsize=0; +int i; LOG_FORMATS("Length %d\n",length); @@ -295,13 +295,13 @@ int i; static const struct CassetteLegacyWaveFiller csw_legacy_fill_wave = { - csw_cas_fill_wave, /* fill_wave */ - -1, /* chunk_size */ - 0, /* chunk_samples */ - csw_cas_to_wav_size, /* chunk_sample_calc */ - CSW_WAV_FREQUENCY, /* sample_frequency */ - 0, /* header_samples */ - 0 /* trailer_samples */ + csw_cas_fill_wave, /* fill_wave */ + -1, /* chunk_size */ + 0, /* chunk_samples */ + csw_cas_to_wav_size, /* chunk_sample_calc */ + CSW_WAV_FREQUENCY, /* sample_frequency */ + 0, /* header_samples */ + 0 /* trailer_samples */ }; static casserr_t csw_cassette_identify( cassette_image *cassette, struct CassetteOptions *opts ) { |