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

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

Issue 481193003: Remove AudioBuffersState usage in Chromium (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix audio muter build buster. Created 6 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
Index: components/copresence/mediums/audio/audio_player.cc
diff --git a/components/copresence/mediums/audio/audio_player.cc b/components/copresence/mediums/audio/audio_player.cc
index ac9bf78344a9ed04d805ebc2957e0341948da003..25181b24e72daed0fcc2b59d33fd3875c2f0ce1b 100644
--- a/components/copresence/mediums/audio/audio_player.cc
+++ b/components/copresence/mediums/audio/audio_player.cc
@@ -141,7 +141,7 @@ void AudioPlayer::FinalizeOnAudioThread() {
}
int AudioPlayer::OnMoreData(media::AudioBus* dest,
- media::AudioBuffersState /* state */) {
+ uint32 /* total_bytes_delay */) {
base::AutoLock al(state_lock_);
// Continuously play our samples till explicitly told to stop.
const int leftover_frames = samples_->frames() - frame_index_;
« no previous file with comments | « components/copresence/mediums/audio/audio_player.h ('k') | components/copresence/mediums/audio/audio_player_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698