| Index: media/audio/win/wavein_input_win.cc
|
| diff --git a/media/audio/win/wavein_input_win.cc b/media/audio/win/wavein_input_win.cc
|
| index c02fd521976f754f5b9d7e97b8ca6b2ad86439ee..fdc08b875d73e219b5fe3f0e189b9fda62d4182e 100644
|
| --- a/media/audio/win/wavein_input_win.cc
|
| +++ b/media/audio/win/wavein_input_win.cc
|
| @@ -1,4 +1,4 @@
|
| -// Copyright (c) 2010 The Chromium Authors. All rights reserved.
|
| +// Copyright (c) 2011 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.
|
|
|
| @@ -14,16 +14,12 @@
|
| #include "media/audio/audio_util.h"
|
| #include "media/audio/win/audio_manager_win.h"
|
|
|
| -namespace {
|
| -
|
| // Our sound buffers are allocated once and kept in a linked list using the
|
| // the WAVEHDR::dwUser variable. The last buffer points to the first buffer.
|
| -WAVEHDR* GetNextBuffer(WAVEHDR* current) {
|
| +static WAVEHDR* GetNextBuffer(WAVEHDR* current) {
|
| return reinterpret_cast<WAVEHDR*>(current->dwUser);
|
| }
|
|
|
| -} // namespace
|
| -
|
| PCMWaveInAudioInputStream::PCMWaveInAudioInputStream(
|
| AudioManagerWin* manager, AudioParameters params, int num_buffers,
|
| UINT device_id)
|
|
|