Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(86)

Side by Side Diff: webrtc/modules/audio_processing/test/conversational_speech/wavreader_adaptor.cc

Issue 2761853002: Conversational Speech tool, MultiEndCall class and unit tests via mocking (Closed)
Patch Set: BUILD deps fixed Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 /*
2 * Copyright (c) 2017 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 "webrtc/modules/audio_processing/test/conversational_speech/wavreader_a daptor.h"
12
13 #include "webrtc/base/checks.h"
14
15 namespace webrtc {
16 namespace test {
17 namespace conversational_speech {
18
19 WavReaderAdaptor::WavReaderAdaptor(const std::string& filepath) {
20 // TODO(alessiob): implement.
21 }
22
23 WavReaderAdaptor::~WavReaderAdaptor() {}
24
25 size_t WavReaderAdaptor::ReadFloatSamples(size_t num_samples, float* samples) {
26 // TODO(alessiob): implement.
27 FATAL();
28 return 0u;
29 }
30
31 size_t WavReaderAdaptor::ReadInt16Samples(
32 size_t num_samples, int16_t* samples) {
33 // TODO(alessiob): implement.
34 FATAL();
35 return 0u;
36 }
37
38 int WavReaderAdaptor::sample_rate() const {
39 // TODO(alessiob): implement.
40 FATAL();
41 return 0;
42 }
43
44 size_t WavReaderAdaptor::num_channels() const {
45 // TODO(alessiob): implement.
46 FATAL();
47 return 0u;
48 }
49
50 size_t WavReaderAdaptor::num_samples() const {
51 // TODO(alessiob): implement.
52 FATAL();
53 return 0u;
54 }
55
56 } // namespace conversational_speech
57 } // namespace test
58 } // namespace webrtc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698