summaryrefslogtreecommitdiffstats
path: root/media/audio/pulse
diff options
context:
space:
mode:
authorvrk@google.com <vrk@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-21 20:55:23 +0000
committervrk@google.com <vrk@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-21 20:55:23 +0000
commitcfb09c2d58ecb16b14192619695ea54570344ca7 (patch)
tree4d55c178533d474429eef44382fdc93c9fa0e28f /media/audio/pulse
parentef12d1e6acb871dbd01f330d0b10ada24d209371 (diff)
downloadchromium_src-cfb09c2d58ecb16b14192619695ea54570344ca7.zip
chromium_src-cfb09c2d58ecb16b14192619695ea54570344ca7.tar.gz
chromium_src-cfb09c2d58ecb16b14192619695ea54570344ca7.tar.bz2
Make AudioParameters a class instead of a struct
Also collapses some long parameter lists into AudioParameters and moves some of the hardcoded values (e.g. 16 bit audio in AudioDevice) to more appropriate locations. BUG=115902 TEST=manually testing everything works out Review URL: https://chromiumcodereview.appspot.com/9655018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128054 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/audio/pulse')
-rw-r--r--media/audio/pulse/pulse_output.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/media/audio/pulse/pulse_output.h b/media/audio/pulse/pulse_output.h
index d3ef866..410ffb3 100644
--- a/media/audio/pulse/pulse_output.h
+++ b/media/audio/pulse/pulse_output.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
@@ -40,7 +40,7 @@ typedef AudioManagerOpenBSD AudioManagerPulse;
#error Unsupported platform
#endif
-struct AudioParameters;
+class AudioParameters;
class PulseAudioOutputStream : public AudioOutputStream {
public: