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:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user