diff options
Diffstat (limited to 'gnuradio-core/src/lib/io/gri_wavfile.cc')
-rw-r--r-- | gnuradio-core/src/lib/io/gri_wavfile.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gnuradio-core/src/lib/io/gri_wavfile.cc b/gnuradio-core/src/lib/io/gri_wavfile.cc index 4a9db61d8..c1a2b7c73 100644 --- a/gnuradio-core/src/lib/io/gri_wavfile.cc +++ b/gnuradio-core/src/lib/io/gri_wavfile.cc @@ -71,7 +71,7 @@ host_to_wav(uint16_t x) static inline int16_t host_to_wav(int16_t x) { - return bswap_32(x); + return bswap_16(x); } static inline uint32_t @@ -89,7 +89,7 @@ wav_to_host(uint16_t x) static inline int16_t wav_to_host(int16_t x) { - return bswap_32(x); + return bswap_16(x); } #else |