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

Unified Diff: media/audio/audio_buffers_state.cc

Issue 9689015: Remove unused AudioBuffersState member. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 8 years, 9 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
« no previous file with comments | « media/audio/audio_buffers_state.h ('k') | media/audio/linux/alsa_input.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/audio_buffers_state.cc
===================================================================
--- media/audio/audio_buffers_state.cc (revision 126381)
+++ media/audio/audio_buffers_state.cc (working copy)
@@ -6,17 +6,11 @@
AudioBuffersState::AudioBuffersState()
: pending_bytes(0),
- hardware_delay_bytes(0),
- timestamp(base::Time::Now()) {
+ hardware_delay_bytes(0) {
}
AudioBuffersState::AudioBuffersState(int pending_bytes,
int hardware_delay_bytes)
: pending_bytes(pending_bytes),
- hardware_delay_bytes(hardware_delay_bytes),
- timestamp(base::Time::Now()) {
+ hardware_delay_bytes(hardware_delay_bytes) {
}
-
-int AudioBuffersState::total_bytes() {
- return pending_bytes + hardware_delay_bytes;
-}
« no previous file with comments | « media/audio/audio_buffers_state.h ('k') | media/audio/linux/alsa_input.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698