diff options
Diffstat (limited to 'media/audio/pulse/pulse_output.cc')
-rw-r--r-- | media/audio/pulse/pulse_output.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/media/audio/pulse/pulse_output.cc b/media/audio/pulse/pulse_output.cc index c58d5bf..651d1f7 100644 --- a/media/audio/pulse/pulse_output.cc +++ b/media/audio/pulse/pulse_output.cc @@ -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. @@ -16,6 +16,8 @@ #include "media/base/data_buffer.h" #include "media/base/seekable_buffer.h" +namespace media { + static pa_sample_format_t BitsToPASampleFormat(int bits_per_sample) { switch (bits_per_sample) { // Unsupported sample formats shown for reference. I am assuming we want @@ -426,3 +428,5 @@ uint32 PulseAudioOutputStream::RunDataCallback( return 0; } + +} // namespace media |