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

Unified Diff: media/audio/audio_input_controller.h

Issue 4661001: Simplified AudioOutputStream interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 10 years, 1 month 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: media/audio/audio_input_controller.h
diff --git a/media/audio/audio_input_controller.h b/media/audio/audio_input_controller.h
index f6e8d1e981a27c936a98e577d45e0db87e07cce9..cfba450b3f8ce943c95f2b9fcb983d7b5e1501ea 100644
--- a/media/audio/audio_input_controller.h
+++ b/media/audio/audio_input_controller.h
@@ -55,8 +55,7 @@ class AudioInputController :
class Factory {
public:
virtual AudioInputController* Create(EventHandler* event_handler,
- AudioParameters params,
- int samples_per_packet) = 0;
+ AudioParameters params) = 0;
protected:
virtual ~Factory() {}
@@ -70,8 +69,7 @@ class AudioInputController :
// handler will receive a OnCreated() call.
static scoped_refptr<AudioInputController> Create(
EventHandler* event_handler,
- AudioParameters params,
- int samples_per_packet); // Size of the hardware buffer.
+ AudioParameters params);
// Sets the factory used by the static method Create. AudioInputController
// does not take ownership of |factory|. A value of NULL results in an
@@ -110,8 +108,7 @@ class AudioInputController :
AudioInputController(EventHandler* handler);
// The following methods are executed on the audio controller thread.
- void DoCreate(AudioParameters params,
- uint32 samples_per_packet);
+ void DoCreate(AudioParameters params);
void DoRecord();
void DoClose();
void DoReportError(int code);

Powered by Google App Engine
This is Rietveld 408576698