AEC dump Stream::level renamed
Making it clear that the field is used to store the applied input volume and not the recommended input volume. Bug: webrtc:7494, b/241923537 Change-Id: Ib91bc1a12348f63e3a4ba6e068ed02e40786a87b Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/271342 Reviewed-by: Jesus de Vicente Pena <devicentepena@webrtc.org> Commit-Queue: Alessio Bazzica <alessiob@webrtc.org> Cr-Commit-Position: refs/heads/main@{#38051}
This commit is contained in:
committed by
WebRTC LUCI CQ
parent
767f504875
commit
3153b363cd
@ -60,7 +60,7 @@ ABSL_FLAG(std::string,
|
||||
ABSL_FLAG(std::string,
|
||||
level_file,
|
||||
"level.int32",
|
||||
"The name of the level file.");
|
||||
"The name of the applied input volume file.");
|
||||
ABSL_FLAG(std::string,
|
||||
keypress_file,
|
||||
"keypress.bool",
|
||||
@ -468,10 +468,10 @@ int do_main(int argc, char* argv[]) {
|
||||
}
|
||||
}
|
||||
|
||||
if (msg.has_level()) {
|
||||
if (msg.has_applied_input_volume()) {
|
||||
static FILE* level_file =
|
||||
OpenFile(absl::GetFlag(FLAGS_level_file), "wb");
|
||||
int32_t level = msg.level();
|
||||
int32_t level = msg.applied_input_volume();
|
||||
if (absl::GetFlag(FLAGS_text)) {
|
||||
fprintf(level_file, "%d\n", level);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user