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

Unified Diff: base/audio_fifo.cc

Issue 10915173: Set svn:eol-style to LF and remove a few CRLFs that snuck in for src/media/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/media/
Patch Set: Created 8 years, 3 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/audio_fifo.h ('k') | base/audio_fifo_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/audio_fifo.cc
===================================================================
--- base/audio_fifo.cc (revision 155725)
+++ base/audio_fifo.cc (working copy)
@@ -56,11 +56,11 @@
DLOG(ERROR) << "FIFO overflow.";
return false;
}
-
- // Figure out if wrapping is needed and if so what segment sizes we need
- // when adding the new audio bus content to the FIFO.
- int append_size = 0;
- int wrap_size = 0;
+
+ // Figure out if wrapping is needed and if so what segment sizes we need
+ // when adding the new audio bus content to the FIFO.
+ int append_size = 0;
+ int wrap_size = 0;
GetSizes(write_pos_, max_frames(), source_size, &append_size, &wrap_size);
// Copy all channels from the source to the FIFO. Wrap around if needed.
@@ -99,10 +99,10 @@
return false;
}
- // Figure out if wrapping is needed and if so what segment sizes we need
- // when removing audio bus content from the FIFO.
- int consume_size = 0;
- int wrap_size = 0;
+ // Figure out if wrapping is needed and if so what segment sizes we need
+ // when removing audio bus content from the FIFO.
+ int consume_size = 0;
+ int wrap_size = 0;
GetSizes(read_pos_, max_frames(), frames_to_consume,
&consume_size, &wrap_size);
Property changes on: base/audio_fifo.cc
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+LF
\ No newline at end of property
« no previous file with comments | « base/audio_fifo.h ('k') | base/audio_fifo_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698