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

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

Issue 9805001: Move media/audio files into media namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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
« no previous file with comments | « media/audio/linux/alsa_wrapper.h ('k') | media/audio/linux/audio_manager_linux.h » ('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 #include "media/audio/linux/alsa_wrapper.h" 5 #include "media/audio/linux/alsa_wrapper.h"
6 6
7 #include <alsa/asoundlib.h> 7 #include <alsa/asoundlib.h>
8 8
9 namespace media {
10
9 AlsaWrapper::AlsaWrapper() { 11 AlsaWrapper::AlsaWrapper() {
10 } 12 }
11 13
12 AlsaWrapper::~AlsaWrapper() { 14 AlsaWrapper::~AlsaWrapper() {
13 } 15 }
14 16
15 int AlsaWrapper::PcmOpen(snd_pcm_t** handle, const char* name, 17 int AlsaWrapper::PcmOpen(snd_pcm_t** handle, const char* name,
16 snd_pcm_stream_t stream, int mode) { 18 snd_pcm_stream_t stream, int mode) {
17 return snd_pcm_open(handle, name, stream, mode); 19 return snd_pcm_open(handle, name, stream, mode);
18 } 20 }
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 } 221 }
220 222
221 int AlsaWrapper::MixerSelemHasCaptureVolume(snd_mixer_elem_t* elem) { 223 int AlsaWrapper::MixerSelemHasCaptureVolume(snd_mixer_elem_t* elem) {
222 return snd_mixer_selem_has_capture_volume(elem); 224 return snd_mixer_selem_has_capture_volume(elem);
223 } 225 }
224 226
225 int AlsaWrapper::MixerSelemGetCaptureVolumeRange(snd_mixer_elem_t* elem, 227 int AlsaWrapper::MixerSelemGetCaptureVolumeRange(snd_mixer_elem_t* elem,
226 long* min, long* max) { 228 long* min, long* max) {
227 return snd_mixer_selem_get_capture_volume_range(elem, min, max); 229 return snd_mixer_selem_get_capture_volume_range(elem, min, max);
228 } 230 }
231
232 } // namespace media
OLDNEW
« no previous file with comments | « media/audio/linux/alsa_wrapper.h ('k') | media/audio/linux/audio_manager_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698