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

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

Issue 1542013004: Switch to standard integer types in media/, take 2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more stddef Created 5 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 unified diff | Download patch
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_AUDIO_IO_H_ 5 #ifndef MEDIA_AUDIO_AUDIO_IO_H_
6 #define MEDIA_AUDIO_AUDIO_IO_H_ 6 #define MEDIA_AUDIO_AUDIO_IO_H_
7 7
8 #include <stdint.h>
9
8 #include "media/base/audio_bus.h" 10 #include "media/base/audio_bus.h"
9 11
10 // Low-level audio output support. To make sound there are 3 objects involved: 12 // Low-level audio output support. To make sound there are 3 objects involved:
11 // - AudioSource : produces audio samples on a pull model. Implements 13 // - AudioSource : produces audio samples on a pull model. Implements
12 // the AudioSourceCallback interface. 14 // the AudioSourceCallback interface.
13 // - AudioOutputStream : uses the AudioSource to render audio on a given 15 // - AudioOutputStream : uses the AudioSource to render audio on a given
14 // channel, format and sample frequency configuration. Data from the 16 // channel, format and sample frequency configuration. Data from the
15 // AudioSource is delivered in a 'pull' model. 17 // AudioSource is delivered in a 'pull' model.
16 // - AudioManager : factory for the AudioOutputStream objects, manager 18 // - AudioManager : factory for the AudioOutputStream objects, manager
17 // of the hardware resources and mixer control. 19 // of the hardware resources and mixer control.
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 // Returns the Automatic Gain Control (AGC) state. 168 // Returns the Automatic Gain Control (AGC) state.
167 virtual bool GetAutomaticGainControl() = 0; 169 virtual bool GetAutomaticGainControl() = 0;
168 170
169 // Returns the current muting state for the microphone. 171 // Returns the current muting state for the microphone.
170 virtual bool IsMuted() = 0; 172 virtual bool IsMuted() = 0;
171 }; 173 };
172 174
173 } // namespace media 175 } // namespace media
174 176
175 #endif // MEDIA_AUDIO_AUDIO_IO_H_ 177 #endif // MEDIA_AUDIO_AUDIO_IO_H_
OLDNEW
« no previous file with comments | « media/audio/audio_input_unittest.cc ('k') | media/audio/audio_low_latency_input_output_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698