Cleanup: Forward declare AudioFrame type in voiceprocess.h

No need to include this header since the API is just taking a pointer to
it.

BUG=1092
TEST=./webrtc/build/gyp_webrtc && ninja -C out/Debug
R=tommi@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/44059004

Patch from Thiago Farina <tfarina@chromium.org>.

Cr-Commit-Position: refs/heads/master@{#8928}
This commit is contained in:
Thiago Farina 2015-04-06 10:36:41 +00:00 committed by Tommi
parent ae0f0ee79e
commit ef88309a6e
2 changed files with 3 additions and 1 deletions

View File

@ -28,12 +28,13 @@
#ifndef TALK_MEDIA_BASE_VOICEPROCESSOR_H_
#define TALK_MEDIA_BASE_VOICEPROCESSOR_H_
#include "talk/media/base/audioframe.h"
#include "webrtc/base/basictypes.h"
#include "webrtc/base/sigslot.h"
namespace cricket {
class AudioFrame;
enum MediaProcessorDirection {
MPD_INVALID = 0,
MPD_RX = 1 << 0,

View File

@ -38,6 +38,7 @@
#include <string>
#include <vector>
#include "talk/media/base/audioframe.h"
#include "talk/media/base/audiorenderer.h"
#include "talk/media/base/constants.h"
#include "talk/media/base/streamparams.h"