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

Side by Side Diff: media/audio/cras/cras_input.h

Issue 2144333002: MuteSource Audio During Full Screen Cast (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 4 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/audio_device_description.cc ('k') | media/audio/cras/cras_input.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 (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 #ifndef MEDIA_AUDIO_CRAS_CRAS_INPUT_H_ 5 #ifndef MEDIA_AUDIO_CRAS_CRAS_INPUT_H_
6 #define MEDIA_AUDIO_CRAS_CRAS_INPUT_H_ 6 #define MEDIA_AUDIO_CRAS_CRAS_INPUT_H_
7 7
8 #include <cras_client.h> 8 #include <cras_client.h>
9 #include <stddef.h> 9 #include <stddef.h>
10 #include <stdint.h> 10 #include <stdint.h>
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 107
108 // Direction of the stream. 108 // Direction of the stream.
109 const CRAS_STREAM_DIRECTION stream_direction_; 109 const CRAS_STREAM_DIRECTION stream_direction_;
110 110
111 // Index of the CRAS device to stream input from. 111 // Index of the CRAS device to stream input from.
112 int pin_device_; 112 int pin_device_;
113 113
114 // True if the stream is a system-wide loopback stream. 114 // True if the stream is a system-wide loopback stream.
115 bool is_loopback_; 115 bool is_loopback_;
116 116
117 // True if we want to mute system audio during capturing.
118 bool mute_system_audio_;
119 bool mute_done_;
120
117 std::unique_ptr<AudioBus> audio_bus_; 121 std::unique_ptr<AudioBus> audio_bus_;
118 122
119 DISALLOW_COPY_AND_ASSIGN(CrasInputStream); 123 DISALLOW_COPY_AND_ASSIGN(CrasInputStream);
120 }; 124 };
121 125
122 } // namespace media 126 } // namespace media
123 127
124 #endif // MEDIA_AUDIO_CRAS_CRAS_INPUT_H_ 128 #endif // MEDIA_AUDIO_CRAS_CRAS_INPUT_H_
OLDNEW
« no previous file with comments | « media/audio/audio_device_description.cc ('k') | media/audio/cras/cras_input.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698