template.c: reformat
This commit is contained in:
parent
eb531a2fe7
commit
059501dcc6
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user