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

Side by Side Diff: media/audio/fake_audio_input_stream.cc

Issue 9418042: Adding microphone volume support to chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: please review Created 8 years, 10 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "media/audio/fake_audio_input_stream.h" 5 #include "media/audio/fake_audio_input_stream.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 8
9 using base::Time; 9 using base::Time;
10 using base::TimeDelta; 10 using base::TimeDelta;
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 thread_.Stop(); 70 thread_.Stop();
71 } 71 }
72 72
73 void FakeAudioInputStream::Close() { 73 void FakeAudioInputStream::Close() {
74 if (callback_) { 74 if (callback_) {
75 callback_->OnClose(this); 75 callback_->OnClose(this);
76 callback_ = NULL; 76 callback_ = NULL;
77 } 77 }
78 Release(); // Destoys this object. 78 Release(); // Destoys this object.
79 } 79 }
80
81 void FakeAudioInputStream::SetMicVolume(double volume) {}
82
83 void FakeAudioInputStream::GetMicVolume(double* volume) {}
84
85 void FakeAudioInputStream::GetMaxMicVolume(double* max_volume) {}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698