C: precalculate PRODUCT
in the Python script
This commit is contained in:
parent
c9825b9122
commit
c3a2de8333
@ -211,6 +211,7 @@ if __name__ == "__main__":
|
||||
"fp_return_type": args.floating_point,
|
||||
"channels": args.channels,
|
||||
"length": samples,
|
||||
"wav_product": args.channels * samples,
|
||||
"sequential_mode": args.mode == "sequential",
|
||||
"block_size": args.block_size,
|
||||
"silent_mode": args.silent,
|
||||
|
@ -38,7 +38,7 @@ const char* ANSI_CLEAR = __ANSI_CLEAR_STRING;
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#define PRODUCT (LENGTH * CHANNELS)
|
||||
#define PRODUCT `wav_product`
|
||||
#define FREQUENCY_OF_STATUS_REPORTING 5000
|
||||
|
||||
#define SEQUENTIAL_MODE `sequential_mode`
|
||||
|
Loading…
Reference in New Issue
Block a user