1
0

template.c: reformat

This commit is contained in:
Intel A80486DX2-66 2024-01-09 17:17:17 +03:00
parent eb531a2fe7
commit 059501dcc6
Signed by: 80486DX2-66
GPG Key ID: 83631EF27054609B

View File

@ -56,7 +56,7 @@ SAMPLE_TYPE
bytebeat(long double w) bytebeat(long double w)
{ {
`final_sample_rate_code` `final_sample_rate_code`
uintmax_t t = (uintmax_t)w; uintmax_t t = (uintmax_t) w;
`bytebeat_contents`; `bytebeat_contents`;
} }
@ -126,7 +126,7 @@ main(void)
for (size_t w = 0; w < PRODUCT; w++) { for (size_t w = 0; w < PRODUCT; w++) {
// 1. generate audio data // 1. generate audio data
long double bytebeat_res = bytebeat((long double)w); long double bytebeat_res = bytebeat((long double) w);
// 2. if signed, then wrap up into unsigned // 2. if signed, then wrap up into unsigned
if (IS_SIGNED) if (IS_SIGNED)