summaryrefslogtreecommitdiff
path: root/src/tests/test_spectool.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/test_spectool.cc')
-rw-r--r--src/tests/test_spectool.cc8
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;