From 18eb8a07ba39a8aad1c75521cee027b9c9c72e40 Mon Sep 17 00:00:00 2001 From: skal Date: Sun, 1 Feb 2026 00:58:20 +0100 Subject: clang-format --- src/tests/test_spectool.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/tests/test_spectool.cc') diff --git a/src/tests/test_spectool.cc b/src/tests/test_spectool.cc index b9270ed..37a74b7 100644 --- a/src/tests/test_spectool.cc +++ b/src/tests/test_spectool.cc @@ -20,7 +20,7 @@ struct SpecHeader { int32_t num_frames; }; -void generate_test_wav(const char *path, int duration_seconds) { +void generate_test_wav(const char* path, int duration_seconds) { ma_encoder_config config = ma_encoder_config_init(ma_encoding_format_wav, ma_format_f32, 1, 32000); ma_encoder encoder; @@ -40,8 +40,8 @@ void generate_test_wav(const char *path, int duration_seconds) { } int main() { - const char *test_wav = "test_input.wav"; - const char *test_spec = "test_output.spec"; + const char* test_wav = "test_input.wav"; + const char* test_spec = "test_output.spec"; printf("Generating test WAV...\n"); generate_test_wav(test_wav, 1); @@ -54,7 +54,7 @@ int main() { assert(ret == 0); printf("Verifying .spec file...\n"); - FILE *f = fopen(test_spec, "rb"); + FILE* f = fopen(test_spec, "rb"); assert(f != NULL); SpecHeader header; -- cgit v1.2.3