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

Unified Diff: trunk/src/components/copresence/mediums/audio/audio_player.cc

Issue 487543002: Revert 290359 "Remove AudioBuffersState class." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 4 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
Index: trunk/src/components/copresence/mediums/audio/audio_player.cc
===================================================================
--- trunk/src/components/copresence/mediums/audio/audio_player.cc (revision 290374)
+++ trunk/src/components/copresence/mediums/audio/audio_player.cc (working copy)
@@ -141,7 +141,7 @@
}
int AudioPlayer::OnMoreData(media::AudioBus* dest,
- int /* total_bytes_delay */) {
+ media::AudioBuffersState /* state */) {
base::AutoLock al(state_lock_);
// Continuously play our samples till explicitly told to stop.
const int leftover_frames = samples_->frames() - frame_index_;

Powered by Google App Engine
This is Rietveld 408576698