Changeset 8261
- Timestamp:
- 04/23/08 23:53:32
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
gnuradio/branches/releases/3.1/gnuradio-core/src/lib/io/gri_wavfile.cc
r7808 r8261 72 72 host_to_wav(int16_t x) 73 73 { 74 return bswap_ 32(x);74 return bswap_16(x); 75 75 } 76 76 … … 90 90 wav_to_host(int16_t x) 91 91 { 92 return bswap_ 32(x);92 return bswap_16(x); 93 93 } 94 94 gnuradio/branches/releases/3.1/gnuradio-core/src/python/gnuradio/gr/qa_wavefile.py
r7880 r8261 40 40 self.assertEqual(wf.sample_rate(), 8000) 41 41 42 # disabled. Fails on PPC 43 def xtest_002_checkwavcopy (self): 42 def test_002_checkwavcopy (self): 44 43 infile = g_in_file 45 44 outfile = "test_out.wav"
