3 Commits

Author SHA1 Message Date
andrew
d40af69278 Split MoveReadPosition into Forward and Backward versions.
This makes the interface consistent in its use of size_t, and will
reduce casts in callers as they shift to size_t, e.g. this CL:
https://codereview.webrtc.org/1227203003/

Review URL: https://codereview.webrtc.org/1252943007

Cr-Commit-Position: refs/heads/master@{#9646}
2015-07-28 07:53:05 +00:00
Andrew MacDonald
2d627a6d5b Add missing include guards for audio_ring_buffer.h. Yikes.
R=aluebs@webrtc.org
TBR=aluebs@webrtc.org

Review URL: https://codereview.webrtc.org/1191853003.

Cr-Commit-Position: refs/heads/master@{#9456}
2015-06-17 18:39:44 +00:00
andrew@webrtc.org
041035b390 Add an AudioRingBuffer class wrapper for the ring_buffer.h C interface.
Integrate it in Blocker to demonstrate use.

TEST=beamforming sounds good.
R=aluebs@webrtc.org, mgraczyk@chromium.org, sahark@google.com

Review URL: https://webrtc-codereview.appspot.com/36799004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@8157 4adac7df-926f-26a2-2b94-8c16560cd09d
2015-01-26 21:23:53 +00:00