OLD | NEW |
---|---|
(Empty) | |
1 /* | |
2 * Copyright (c) 2015 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 #ifndef WEBRTC_MODULES_AUDIO_PROCESSING_AEC_AEC_LOGGING_FILE_HANDLING_ | |
12 #define WEBRTC_MODULES_AUDIO_PROCESSING_AEC_AEC_LOGGING_FILE_HANDLING_ | |
13 | |
14 // To enable AEC logging, run this command from trunk/ : | |
15 // python webrtc/build/gyp_webrtc -Daec_debug_dump=1 | |
hlundin-webrtc
2015/08/10 13:04:40
I would rephrase this as:
To enable AEC logging, i
Andrew MacDonald
2015/08/10 15:28:44
I like this better than my suggestion.
peah-webrtc
2015/08/12 20:25:51
Done.
peah-webrtc
2015/08/12 20:25:51
Done.
| |
16 #ifdef WEBRTC_AEC_DEBUG_DUMP | |
17 #include <stdio.h> | |
18 #include "webrtc/common_audio/wav_file.h" | |
19 #include "webrtc/typedefs.h" | |
20 | |
21 | |
22 // (Re)open wav file using the specified sample rate | |
hlundin-webrtc
2015/08/10 13:04:40
(Re)opens...
http://google-styleguide.googlecode.
hlundin-webrtc
2015/08/10 13:04:41
What do the seq1 and seq2 parameters do?
hlundin-webrtc
2015/08/10 13:04:41
End comment with period (.)
http://google-stylegui
peah-webrtc
2015/08/12 20:25:51
Done.
(In response to another comment I changed th
peah-webrtc
2015/08/12 20:25:51
Done.
peah-webrtc
2015/08/12 20:25:51
Done.
| |
23 void WebRtcAec_ReopenWav(rtc_WavWriter** wav_file, | |
24 const char* const name, | |
25 const int seq1, | |
hlundin-webrtc
2015/08/10 13:04:41
We typically don't qualify parameters passed by va
peah-webrtc
2015/08/12 20:25:51
Done.
| |
26 const int seq2, | |
27 const int sample_rate); | |
28 | |
29 // Open dumpfile with instance-specific filename | |
hlundin-webrtc
2015/08/10 13:04:41
Opens...
End with .
peah-webrtc
2015/08/12 20:25:51
Done.
| |
30 void WebRtcAec_RawFileOpen(FILE** file, | |
31 const char * const name, | |
hlundin-webrtc
2015/08/10 13:04:41
Connect the type with the *.
const char* const nam
peah-webrtc
2015/08/12 20:25:51
Done.
| |
32 const int16_t instanceCtr); | |
hlundin-webrtc
2015/08/10 13:04:40
Variable names should be all lowercase, with under
hlundin-webrtc
2015/08/10 13:04:41
Drop const.
hlundin-webrtc
2015/08/10 13:04:41
Why int16_t? Almost always use int.
http://google-
peah-webrtc
2015/08/12 20:25:51
Done.
peah-webrtc
2015/08/12 20:25:51
Done.
peah-webrtc
2015/08/12 20:25:51
Done.
| |
33 | |
34 #endif // WEBRTC_AEC_DEBUG_DUMP | |
35 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AEC_AEC_LOGGING_FILE_HANDLING_ | |
OLD | NEW |