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

Side by Side Diff: media/audio/fake_audio_manager.h

Issue 285233005: add audio-buffer-size command line flag support to the input audio for all the platforms (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 6 years, 6 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
« no previous file with comments | « media/audio/cras/audio_manager_cras.cc ('k') | media/audio/fake_audio_manager.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #ifndef MEDIA_AUDIO_FAKE_AUDIO_MANAGER_H_ 5 #ifndef MEDIA_AUDIO_FAKE_AUDIO_MANAGER_H_
6 #define MEDIA_AUDIO_FAKE_AUDIO_MANAGER_H_ 6 #define MEDIA_AUDIO_FAKE_AUDIO_MANAGER_H_
7 7
8 #include <string> 8 #include <string>
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "media/audio/audio_manager_base.h" 10 #include "media/audio/audio_manager_base.h"
(...skipping 15 matching lines...) Expand all
26 const AudioParameters& params) OVERRIDE; 26 const AudioParameters& params) OVERRIDE;
27 virtual AudioOutputStream* MakeLowLatencyOutputStream( 27 virtual AudioOutputStream* MakeLowLatencyOutputStream(
28 const AudioParameters& params, 28 const AudioParameters& params,
29 const std::string& device_id) OVERRIDE; 29 const std::string& device_id) OVERRIDE;
30 virtual AudioInputStream* MakeLinearInputStream(const AudioParameters& params, 30 virtual AudioInputStream* MakeLinearInputStream(const AudioParameters& params,
31 const std::string& device_id) 31 const std::string& device_id)
32 OVERRIDE; 32 OVERRIDE;
33 virtual AudioInputStream* MakeLowLatencyInputStream( 33 virtual AudioInputStream* MakeLowLatencyInputStream(
34 const AudioParameters& params, 34 const AudioParameters& params,
35 const std::string& device_id) OVERRIDE; 35 const std::string& device_id) OVERRIDE;
36 virtual AudioParameters GetInputStreamParameters(
37 const std::string& device_id) OVERRIDE;
38 36
39 protected: 37 protected:
40 virtual ~FakeAudioManager(); 38 virtual ~FakeAudioManager();
41 39
42 virtual AudioParameters GetPreferredOutputStreamParameters( 40 virtual AudioParameters GetPreferredOutputStreamParameters(
43 const std::string& output_device_id, 41 const std::string& output_device_id,
44 const AudioParameters& input_params) OVERRIDE; 42 const AudioParameters& input_params) OVERRIDE;
45 43
44 virtual AudioParameters GetPreferredInputStreamParameters(
45 const std::string& input_device_id,
46 const AudioParameters& input_params) OVERRIDE;
47
48
46 private: 49 private:
47 DISALLOW_COPY_AND_ASSIGN(FakeAudioManager); 50 DISALLOW_COPY_AND_ASSIGN(FakeAudioManager);
48 }; 51 };
49 52
50 } // namespace media 53 } // namespace media
51 54
52 #endif // MEDIA_AUDIO_FAKE_AUDIO_MANAGER_H_ 55 #endif // MEDIA_AUDIO_FAKE_AUDIO_MANAGER_H_
OLDNEW
« no previous file with comments | « media/audio/cras/audio_manager_cras.cc ('k') | media/audio/fake_audio_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698