diff options
| author | skal <pascal.massimino@gmail.com> | 2026-02-01 00:58:20 +0100 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-02-01 01:13:53 +0100 |
| commit | 18eb8a07ba39a8aad1c75521cee027b9c9c72e40 (patch) | |
| tree | 87e498dbaffdd591eb94fddca315f6ba28756a32 /src/tests/test_spectool.cc | |
| parent | 03cd94817097e59a0809b222e0e1e74dd9a8ede7 (diff) | |
clang-format
Diffstat (limited to 'src/tests/test_spectool.cc')
| -rw-r--r-- | src/tests/test_spectool.cc | 8 |
1 files changed, 4 insertions, 4 deletions
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; |
