Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Side by Side Diff: media/tools/wav_ola_test/wav_ola_test.cc

Issue 431046: Re-organizing all tools under /src/media to be consistent with the rest of the repository. (Closed)
Patch Set: Created 11 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « media/tools/qt_faststart/qt_faststart.c ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 +}
OLDNEW
« no previous file with comments | « media/tools/qt_faststart/qt_faststart.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698