diff options
author | dvdli <dvdli@google.com> | 2020-10-28 22:15:21 +0800 |
---|---|---|
committer | dvdli <dvdli@google.com> | 2020-10-28 22:15:21 +0800 |
commit | 07c8dc2123270f88622ec2d543b844367d500362 (patch) | |
tree | 9027f0a1307090da8c1ee17edc5dcf33a9bec125 /utils | |
parent | ed51bc4ba921806690dd0dffe7927031db5739d1 (diff) |
initialize silence_size to zero
Diffstat (limited to 'utils')
-rw-r--r-- | utils/tinyplay.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/tinyplay.c b/utils/tinyplay.c index 20dd7e8..8b01a1d 100644 --- a/utils/tinyplay.c +++ b/utils/tinyplay.c @@ -59,6 +59,7 @@ void cmd_init(struct cmd *cmd) cmd->config.rate = 48000; cmd->config.format = PCM_FORMAT_S16_LE; cmd->config.silence_threshold = 1024 * 2; + cmd->config.silence_size = 0; cmd->config.stop_threshold = 1024 * 2; cmd->config.start_threshold = 1024; cmd->bits = 16; |