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

Side by Side Diff: media/audio/alsa/alsa_wrapper.cc

Issue 1534273002: Switch to standard integer types in media/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more 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 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 #include "media/audio/alsa/alsa_wrapper.h" 5 #include "media/audio/alsa/alsa_wrapper.h"
6 6
7
8 namespace media { 7 namespace media {
9 8
10 AlsaWrapper::AlsaWrapper() { 9 AlsaWrapper::AlsaWrapper() {
11 } 10 }
12 11
13 AlsaWrapper::~AlsaWrapper() { 12 AlsaWrapper::~AlsaWrapper() {
14 } 13 }
15 14
16 int AlsaWrapper::PcmOpen(snd_pcm_t** handle, const char* name, 15 int AlsaWrapper::PcmOpen(snd_pcm_t** handle, const char* name,
17 snd_pcm_stream_t stream, int mode) { 16 snd_pcm_stream_t stream, int mode) {
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 int AlsaWrapper::MixerSelemHasCaptureVolume(snd_mixer_elem_t* elem) { 166 int AlsaWrapper::MixerSelemHasCaptureVolume(snd_mixer_elem_t* elem) {
168 return snd_mixer_selem_has_capture_volume(elem); 167 return snd_mixer_selem_has_capture_volume(elem);
169 } 168 }
170 169
171 int AlsaWrapper::MixerSelemGetCaptureVolumeRange(snd_mixer_elem_t* elem, 170 int AlsaWrapper::MixerSelemGetCaptureVolumeRange(snd_mixer_elem_t* elem,
172 long* min, long* max) { 171 long* min, long* max) {
173 return snd_mixer_selem_get_capture_volume_range(elem, min, max); 172 return snd_mixer_selem_get_capture_volume_range(elem, min, max);
174 } 173 }
175 174
176 } // namespace media 175 } // namespace media
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698