| OLD | NEW |
| 1 commit 18c7993ed0f767d3239930845f964bcaf44af24d | 1 commit 18c7993ed0f767d3239930845f964bcaf44af24d |
| 2 Author: Andrew Scherkus <scherkus@chromium.org> | 2 Author: Andrew Scherkus <scherkus@chromium.org> |
| 3 Date: Tue Nov 24 18:05:20 2009 -0800 | 3 Date: Tue Nov 24 18:05:20 2009 -0800 |
| 4 | 4 |
| 5 Re-organizing all tools under /src/media to be consistent with the rest of t
he repository. | 5 Re-organizing all tools under /src/media to be consistent with the rest of t
he repository. |
| 6 | 6 |
| 7 diff --git a/media/tools/wav_ola_test/wav_ola_test.cc b/media/tools/wav_ola_test
/wav_ola_test.cc | 7 diff --git a/media/tools/wav_ola_test/wav_ola_test.cc b/media/tools/wav_ola_test
/wav_ola_test.cc |
| 8 new file mode 100644 | 8 new file mode 100644 |
| 9 index 0000000..17bbabc | 9 index 0000000..17bbabc |
| 10 --- /dev/null | 10 --- /dev/null |
| (...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 170 + wav.subchunk1_size = 16; | 170 + wav.subchunk1_size = 16; |
| 171 + wav.subchunk2_size = bytes_written; | 171 + wav.subchunk2_size = bytes_written; |
| 172 + fseek(output.get(), 0, SEEK_SET); | 172 + fseek(output.get(), 0, SEEK_SET); |
| 173 + if (fwrite(&wav, sizeof(wav), 1, output.get()) < 1) { | 173 + if (fwrite(&wav, sizeof(wav), 1, output.get()) < 1) { |
| 174 + LOG(ERROR) << "could not write wav header."; | 174 + LOG(ERROR) << "could not write wav header."; |
| 175 + return 1; | 175 + return 1; |
| 176 + } | 176 + } |
| 177 + CommandLine::Reset(); | 177 + CommandLine::Reset(); |
| 178 + return 0; | 178 + return 0; |
| 179 +} | 179 +} |
| OLD | NEW |