Skip to content

Commit

Permalink
change default preset.
Browse files Browse the repository at this point in the history
  • Loading branch information
aikiriao committed May 25, 2024
1 parent 2970549 commit 6f15659
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/srla_codec/srla_codec.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
#include <sys/stat.h>

/* デフォルトプリセット */
#define DEFALUT_PRESET_NO 2
#define DEFALUT_PRESET_NO 8
/* デフォルトの最大ブロックサンプル数 */
#define DEFALUT_MAX_NUM_BLOCK_SAMPLES 4096
/* デフォルトの可変ブロック分割数 */
#define DEFALUT_NUM_VARIABLE_BLOCK_DIVISIONS 0
#define DEFALUT_NUM_VARIABLE_BLOCK_DIVISIONS 1
/* マクロの内容を文字列化 */
#define PRE_TOSTRING(arg) #arg
#define TOSTRING(arg) PRE_TOSTRING(arg)
Expand All @@ -27,7 +27,7 @@ static struct CommandLineParserSpecification command_line_spec[] = {
COMMAND_LINE_PARSER_FALSE, NULL, COMMAND_LINE_PARSER_FALSE },
{ 'd', "decode", "Decode mode",
COMMAND_LINE_PARSER_FALSE, NULL, COMMAND_LINE_PARSER_FALSE },
{ 'm', "mode", "Specify compress mode: 0(fast), ..., 5(high compression) (default:" TOSTRING(DEFALUT_PRESET_NO) ")",
{ 'm', "mode", "Specify compress mode: 0(fast), ..., 13(high compression) (default:" TOSTRING(DEFALUT_PRESET_NO) ")",
COMMAND_LINE_PARSER_TRUE, NULL, COMMAND_LINE_PARSER_FALSE },
{ 'B', "max-block-size", "Specify max number of block samples (default:" TOSTRING(DEFALUT_MAX_NUM_BLOCK_SAMPLES) ")",
COMMAND_LINE_PARSER_TRUE, NULL, COMMAND_LINE_PARSER_FALSE },
Expand Down

0 comments on commit 6f15659

Please sign in to comment.