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

Unified Diff: media/audio/simple_sources.h

Issue 1538463002: Revert of Forward the number of skipped frames by the OS in audio playout. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 | « media/audio/pulse/pulse_output.cc ('k') | media/audio/simple_sources.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/simple_sources.h
diff --git a/media/audio/simple_sources.h b/media/audio/simple_sources.h
index 075b4a7c7698a6d217da5cf942a5d1e8adff2b8f..7a10a342032066880cb7a6bb14618a789eccd983 100644
--- a/media/audio/simple_sources.h
+++ b/media/audio/simple_sources.h
@@ -31,9 +31,7 @@
void Reset();
// Implementation of AudioSourceCallback.
- int OnMoreData(AudioBus* audio_bus,
- uint32_t total_bytes_delay,
- uint32_t frames_skipped) override;
+ int OnMoreData(AudioBus* audio_bus, uint32 total_bytes_delay) override;
void OnError(AudioOutputStream* stream) override;
// The number of OnMoreData() and OnError() calls respectively.
@@ -58,9 +56,7 @@
~FileSource() override;
// Implementation of AudioSourceCallback.
- int OnMoreData(AudioBus* audio_bus,
- uint32_t total_bytes_delay,
- uint32_t frames_skipped) override;
+ int OnMoreData(AudioBus* audio_bus, uint32 total_bytes_delay) override;
void OnError(AudioOutputStream* stream) override;
private:
@@ -91,9 +87,7 @@
~BeepingSource() override;
// Implementation of AudioSourceCallback.
- int OnMoreData(AudioBus* audio_bus,
- uint32_t total_bytes_delay,
- uint32_t frames_skipped) override;
+ int OnMoreData(AudioBus* audio_bus, uint32 total_bytes_delay) override;
void OnError(AudioOutputStream* stream) override;
static void BeepOnce();
« no previous file with comments | « media/audio/pulse/pulse_output.cc ('k') | media/audio/simple_sources.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698