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/orao_cas.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/orao_cas.cpp')
-rw-r--r-- | src/lib/formats/orao_cas.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/formats/orao_cas.cpp b/src/lib/formats/orao_cas.cpp index a97d8aa691f..2d0f96b2a14 100644 --- a/src/lib/formats/orao_cas.cpp +++ b/src/lib/formats/orao_cas.cpp @@ -19,10 +19,10 @@ #define ORAO_HEADER_SIZE 360 -static INT16 wave_data; +static int16_t wave_data; static int len; -static void orao_output_wave( INT16 **buffer, int length ) { +static void orao_output_wave( int16_t **buffer, int length ) { if ( buffer == nullptr ) { return; } @@ -32,9 +32,9 @@ static void orao_output_wave( INT16 **buffer, int length ) { *buffer = *buffer + 1; } } -static int orao_cas_to_wav_size( const UINT8 *casdata, int caslen ) { +static int orao_cas_to_wav_size( const uint8_t *casdata, int caslen ) { int i,j,size; - UINT8 b; + uint8_t b; if (casdata == nullptr) return -1; if (caslen <= ORAO_HEADER_SIZE) { @@ -55,9 +55,9 @@ static int orao_cas_to_wav_size( const UINT8 *casdata, int caslen ) { return size; } -static int orao_cas_fill_wave( INT16 *buffer, int length, UINT8 *bytes ) { +static int orao_cas_fill_wave( int16_t *buffer, int length, uint8_t *bytes ) { int i,j,size; - UINT8 b; + uint8_t b; size = 0; if (bytes == nullptr) return -1; for (i=ORAO_HEADER_SIZE;i<len-ORAO_HEADER_SIZE;i++) { |