diff options
author | 2016-10-22 13:13:17 +0200 | |
---|---|---|
committer | 2016-10-22 13:13:17 +0200 | |
commit | ddb290d5f615019c33c42b8d94e5a5254cabcf33 (patch) | |
tree | a70f688b0df3acd19da7b1151e5902e3c6af3fa5 /src/lib/formats/lviv_lvt.cpp | |
parent | 333bff8de64dfaeb98134000412796b4fdef970b (diff) |
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
Diffstat (limited to 'src/lib/formats/lviv_lvt.cpp')
-rw-r--r-- | src/lib/formats/lviv_lvt.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/formats/lviv_lvt.cpp b/src/lib/formats/lviv_lvt.cpp index e53a68be471..09e91eac9fd 100644 --- a/src/lib/formats/lviv_lvt.cpp +++ b/src/lib/formats/lviv_lvt.cpp @@ -17,7 +17,7 @@ #define LVIV_LVT_HEADER_PILOT_LENGTH 5190 #define LVIV_LVT_BLOCK_PILOT_LENGTH 1298 -static INT16 *lviv_emit_level(INT16 *p, int count, int level) +static int16_t *lviv_emit_level(int16_t *p, int count, int level) { int i; @@ -28,7 +28,7 @@ static INT16 *lviv_emit_level(INT16 *p, int count, int level) return p; } -static INT16* lviv_output_bit(INT16 *p, UINT8 b) +static int16_t* lviv_output_bit(int16_t *p, uint8_t b) { if (b) { @@ -45,7 +45,7 @@ static INT16* lviv_output_bit(INT16 *p, UINT8 b) return p; } -static INT16* lviv_output_byte(INT16 *p, UINT8 byte) +static int16_t* lviv_output_byte(int16_t *p, uint8_t byte) { int i; @@ -61,7 +61,7 @@ static INT16* lviv_output_byte(INT16 *p, UINT8 byte) /*************************************************************************************/ -static int lviv_cassette_calculate_size_in_samples(const UINT8 *bytes, int length) +static int lviv_cassette_calculate_size_in_samples(const uint8_t *bytes, int length) { int size; @@ -76,10 +76,10 @@ static int lviv_cassette_calculate_size_in_samples(const UINT8 *bytes, int lengt /*************************************************************************************/ -static int lviv_cassette_fill_wave(INT16 *buffer, int length, UINT8 *bytes) +static int lviv_cassette_fill_wave(int16_t *buffer, int length, uint8_t *bytes) { int i; - INT16 * p = buffer; + int16_t * p = buffer; int data_size; |