Add namespace 'webrtc' to AudioFrameView.

Mini-change: add 'webrtc' namespace. The template class AudioFrameView
got declared in the global namespace by mistake. (My fault). Now
fixing.

Bug: webrtc:9262.
Change-Id: I6f2b4ab1ccdb223505e7181b8e6f12f5f23b3684
Reviewed-on: https://webrtc-review.googlesource.com/76140
Commit-Queue: Alex Loiko <aleloi@webrtc.org>
Reviewed-by: Sam Zackrisson <saza@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23215}
This commit is contained in:
Alex Loiko
2018-05-14 12:39:32 +02:00
committed by Commit Bot
parent c1a8603a00
commit f55babc298
2 changed files with 5 additions and 0 deletions

View File

@ -13,6 +13,7 @@
#include "modules/audio_processing/audio_buffer.h"
#include "test/gtest.h"
namespace webrtc {
TEST(AudioFrameTest, ConstructFromAudioBuffer) {
constexpr int kSampleRateHz = 48000;
constexpr int kNumChannels = 2;
@ -47,3 +48,4 @@ TEST(AudioFrameTest, ConstructFromAudioBuffer) {
non_const_int16_view.channel(0)[0] = kIntConstant;
EXPECT_EQ(buffer.channels()[0][0], kIntConstant);
}
} // namespace webrtc