In particular, PlayoutStereoData and StartPlayingAudioFile. This also eliminates the dependency on system_wrappers FileWrapper. Bug: None Change-Id: I61df1eea1ad5f5035e36c8229febbf3668808f65 Reviewed-on: https://webrtc-review.googlesource.com/28121 Commit-Queue: Niels Moller <nisse@webrtc.org> Reviewed-by: Magnus Flodman <mflodman@webrtc.org> Cr-Commit-Position: refs/heads/master@{#21038}
27 lines
865 B
C++
27 lines
865 B
C++
/*
|
|
* Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by a BSD-style license
|
|
* that can be found in the LICENSE file in the root of the source
|
|
* tree. An additional intellectual property rights grant can be found
|
|
* in the file PATENTS. All contributing project authors may
|
|
* be found in the AUTHORS file in the root of the source tree.
|
|
*/
|
|
|
|
#include "modules/media_file/media_file.h"
|
|
#include "test/gtest.h"
|
|
|
|
class MediaFileTest : public testing::Test {
|
|
protected:
|
|
void SetUp() {
|
|
// Use number 0 as the the identifier and pass to CreateMediaFile.
|
|
media_file_ = webrtc::MediaFile::CreateMediaFile(0);
|
|
ASSERT_TRUE(media_file_ != NULL);
|
|
}
|
|
void TearDown() {
|
|
webrtc::MediaFile::DestroyMediaFile(media_file_);
|
|
media_file_ = NULL;
|
|
}
|
|
webrtc::MediaFile* media_file_;
|
|
};
|