| 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
|
|
|