diff options
author | 2015-12-12 08:58:57 +0100 | |
---|---|---|
committer | 2015-12-12 08:58:57 +0100 | |
commit | 379581fb3690d92f7e3815534a479823aee8ddcc (patch) | |
tree | 77b4a080ba46ba58bfd8382926580cb2aad5a69d /src/lib/formats/cbm_tap.cpp | |
parent | afe2bbe6481acf518e384509586ada235e106c54 (diff) |
macro removal INLINE -> static inline (nw)
Diffstat (limited to 'src/lib/formats/cbm_tap.cpp')
-rw-r--r-- | src/lib/formats/cbm_tap.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/formats/cbm_tap.cpp b/src/lib/formats/cbm_tap.cpp index 5c3033f9dad..1293d3c531d 100644 --- a/src/lib/formats/cbm_tap.cpp +++ b/src/lib/formats/cbm_tap.cpp @@ -135,7 +135,7 @@ static int len; /* This in fact gives the number of samples for half of the pulse */ -INLINE int tap_data_to_samplecount(int data, int frequency) +static inline int tap_data_to_samplecount(int data, int frequency) { // return (int) (0.5 * (0.5 + (((double)CBM_WAV_FREQUENCY / frequency) * (double)data))); // MESS TZX formula return (int) (0.5 * (((double)CBM_WAV_FREQUENCY / frequency) * (double)((data) + 0.5))); // tap2wav formula |