aboutsummaryrefslogtreecommitdiff
path: root/opus_test.c
diff options
context:
space:
mode:
authorNathan Perry <avaglir@gmail.com>2019-02-17 21:26:36 -0500
committerNathan Perry <avaglir@gmail.com>2019-02-17 21:26:36 -0500
commitf4c9c890ab80a3e6de37ba245244d0e69d9c542c (patch)
tree673fcbd49ed543a4196d84e9c9d3e08a2790e4ec /opus_test.c
parent3eecbaf1ff02122506ee8ee8c65e02ff1325aae0 (diff)
try using opus
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