blob: 568e8a97e360fe5e53d36b60d739b969b24b3c13 [file] [log] [blame]
Ivo Creusen55de08e2018-09-03 11:49:27 +02001/*
2 * Copyright (c) 2018 The WebRTC project authors. All Rights Reserved.
3 *
4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
10
11#include "api/test/neteq_simulator_factory.h"
12
13#include "absl/memory/memory.h"
14#include "modules/audio_coding/neteq/tools/neteq_test_factory.h"
15
16namespace webrtc {
17namespace test {
18
19NetEqSimulatorFactory::NetEqSimulatorFactory()
20 : factory_(absl::make_unique<NetEqTestFactory>()) {}
21
22NetEqSimulatorFactory::~NetEqSimulatorFactory() = default;
23
24std::unique_ptr<NetEqSimulator> NetEqSimulatorFactory::CreateSimulator(
25 int argc,
26 char* argv[]) {
27 return factory_->InitializeTest(argc, argv);
28}
29
30} // namespace test
31} // namespace webrtc