summaryrefslogtreecommitdiff
path: root/celt/opus_custom_demo.c
diff options
context:
space:
mode:
Diffstat (limited to 'celt/opus_custom_demo.c')
-rw-r--r--celt/opus_custom_demo.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/celt/opus_custom_demo.c b/celt/opus_custom_demo.c
index 5796a977..be7dd8e4 100644
--- a/celt/opus_custom_demo.c
+++ b/celt/opus_custom_demo.c
@@ -8,14 +8,14 @@
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
-
+
- Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
-
+
- Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
-
+
- Neither the name of Internet Society, IETF or IETF Trust, nor the
names of specific contributors, may be used to endorse or promote
products derived from this software without specific prior written
@@ -74,7 +74,7 @@ int main(int argc, char *argv[])
"<input> <output>\n");
return 1;
}
-
+
rate = (opus_int32)atol(argv[1]);
channels = atoi(argv[2]);
frame_size = atoi(argv[3]);
@@ -108,7 +108,7 @@ int main(int argc, char *argv[])
fclose(fin);
return 1;
}
-
+
enc = opus_custom_encoder_create(mode, channels, &err);
if (err != 0)
{
@@ -132,7 +132,7 @@ int main(int argc, char *argv[])
complexity=atoi(argv[5]);
opus_custom_encoder_ctl(enc,OPUS_SET_COMPLEXITY(complexity));
}
-
+
in = (opus_int16*)malloc(frame_size*channels*sizeof(opus_int16));
out = (opus_int16*)malloc(frame_size*channels*sizeof(opus_int16));
@@ -194,7 +194,7 @@ int main(int argc, char *argv[])
skip = 0;
}
PRINT_MIPS(stderr);
-
+
opus_custom_encoder_destroy(enc);
opus_custom_decoder_destroy(dec);
fclose(fin);