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

Unified Diff: media/audio/mac/audio_input_mac.h

Issue 11478019: Revert 171681 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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 | « no previous file | media/audio/mac/audio_input_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/mac/audio_input_mac.h
===================================================================
--- media/audio/mac/audio_input_mac.h (revision 171691)
+++ media/audio/mac/audio_input_mac.h (working copy)
@@ -9,7 +9,6 @@
#include <AudioToolbox/AudioFormat.h>
#include "base/compiler_specific.h"
-#include "base/time.h"
#include "media/audio/audio_io.h"
#include "media/audio/audio_parameters.h"
@@ -63,7 +62,7 @@
UInt32 num_packets,
const AudioStreamPacketDescription* packet_desc);
- static const int kNumberBuffers = 3;
+ static const int kNumberBuffers = 1;
// Manager that owns this stream, used for closing down.
AudioManagerBase* manager_;
@@ -77,8 +76,6 @@
uint32 buffer_size_bytes_;
// True iff Start() has been called successfully.
bool started_;
- // Used to determine if we need to slow down |callback_| calls.
- base::Time last_fill_;
DISALLOW_COPY_AND_ASSIGN(PCMQueueInAudioInputStream);
};
« no previous file with comments | « no previous file | media/audio/mac/audio_input_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698