diff options
| author | Nathan Perry <avaglir@gmail.com> | 2019-02-17 21:26:36 -0500 |
|---|---|---|
| committer | Nathan Perry <avaglir@gmail.com> | 2019-02-17 21:26:36 -0500 |
| commit | f4c9c890ab80a3e6de37ba245244d0e69d9c542c (patch) | |
| tree | 673fcbd49ed543a4196d84e9c9d3e08a2790e4ec /opus_test.c | |
| parent | 3eecbaf1ff02122506ee8ee8c65e02ff1325aae0 (diff) | |
try using opus
Diffstat (limited to 'opus_test.c')
| -rw-r--r-- | opus_test.c | 17 |
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 |
