aboutsummaryrefslogtreecommitdiff
path: root/opus_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'opus_test.c')
-rw-r--r--opus_test.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/opus_test.c b/opus_test.c
new file mode 100644
index 0000000..96744cb
--- /dev/null
+++ b/opus_test.c
@@ -0,0 +1,17 @@
+#include <opus.h>
+#include <stdio.h>
+#include <stdlib.h>
+
+int main(void) {
+ int err;
+ OpusEncoder* enc = opus_encoder_create(48000, 2, OPUS_APPLICATION_AUDIO, &err);
+
+ if (err != NULL) {
+ puts("initializing opus");
+ return EXIT_FAILURE;
+ }
+
+
+
+ return EXIT_SUCCESS;
+} \ No newline at end of file