From ddb290d5f615019c33c42b8d94e5a5254cabcf33 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Sat, 22 Oct 2016 13:13:17 +0200 Subject: NOTICE (TYPE NAME CONSOLIDATION) Use standard uint64_t, uint32_t, uint16_t or uint8_t instead of UINT64, UINT32, UINT16 or UINT8 also use standard int64_t, int32_t, int16_t or int8_t instead of INT64, INT32, INT16 or INT8 --- src/lib/formats/x07_cas.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/lib/formats/x07_cas.cpp') diff --git a/src/lib/formats/x07_cas.cpp b/src/lib/formats/x07_cas.cpp index 93c34705105..b49d7c8d643 100644 --- a/src/lib/formats/x07_cas.cpp +++ b/src/lib/formats/x07_cas.cpp @@ -21,7 +21,7 @@ // image size static int x07_image_size; -static int x07_put_samples(INT16 *buffer, int sample_pos, int count, int level) +static int x07_put_samples(int16_t *buffer, int sample_pos, int count, int level) { if (buffer) { @@ -32,7 +32,7 @@ static int x07_put_samples(INT16 *buffer, int sample_pos, int count, int level) return count; } -static int x07_output_bit(INT16 *buffer, int sample_pos, UINT8 bit) +static int x07_output_bit(int16_t *buffer, int sample_pos, uint8_t bit) { int samples = 0; @@ -52,7 +52,7 @@ static int x07_output_bit(INT16 *buffer, int sample_pos, UINT8 bit) return samples; } -static int x07_output_byte(INT16 *buffer, int sample_pos, UINT8 byte) +static int x07_output_byte(int16_t *buffer, int sample_pos, uint8_t byte) { int samples = 0; @@ -71,7 +71,7 @@ static int x07_output_byte(INT16 *buffer, int sample_pos, UINT8 byte) return samples; } -static int x07_handle_cassette(INT16 *buffer, const UINT8 *bytes) +static int x07_handle_cassette(int16_t *buffer, const uint8_t *bytes) { int sample_count = 0; int img_start = 0; @@ -124,7 +124,7 @@ static int x07_handle_cassette(INT16 *buffer, const UINT8 *bytes) Generate samples for the tape image ********************************************************************/ -static int x07_cassette_fill_wave(INT16 *buffer, int length, UINT8 *bytes) +static int x07_cassette_fill_wave(int16_t *buffer, int length, uint8_t *bytes) { return x07_handle_cassette(buffer, bytes); } @@ -133,7 +133,7 @@ static int x07_cassette_fill_wave(INT16 *buffer, int length, UINT8 *bytes) Calculate the number of samples needed for this tape image ********************************************************************/ -static int x07_cassette_calculate_size_in_samples(const UINT8 *bytes, int length) +static int x07_cassette_calculate_size_in_samples(const uint8_t *bytes, int length) { x07_image_size = length; -- cgit v1.2.3-70-g09d2