ai-agent

android-opus-codec: Encode/Decode Audio

Get efficient Opus codec for Android apps, for founders building audio-based startups with C++ and JNI.
154 stars54 forksCGuide quality 9/10Updated 5/4/2023100% free · open source
What it does

The android-opus-codec provides an efficient Opus codec for Android apps, allowing founders to build high-quality audio-based startups using C++ and JNI.

When to use it
  • Building a voice or video chat application for Android
  • Creating a podcast or audiobook app with high-quality audio compression
  • Developing a music streaming service with efficient audio encoding and decoding
Ready-to-paste prompt
Encode an audio file using the Opus codec with the command `OpusCodec.encode(audioData, 48000, 2, 128000)`
Heads up: The android-opus-codec requires the Android NDK to be installed and configured on your system, with the `NDK_ROOT` environment variable set to the NDK installation directory
Saves to your device
Use with Claude
New

Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.

🛠️ Technical setup

Expect 20–40 minutes in a terminal — or let your AI agent drive it.

Try it instantly — no install
Claude Code
mkdir -p ~/.claude/skills/android-opus-codec && curl -fsSL https://workflowstacks.com/api/skills/android-opus-codec/claude-skill -o ~/.claude/skills/android-opus-codec/SKILL.md
Open in another AI app

Opens the app with this repo with the prompt ready to go — no copy-paste needed.

Connect the whole catalog (MCP)
claude mcp add --transport http workflowstacks https://workflowstacks.com/api/mcp

Adds a WorkflowStacks connector to Claude Code: search and load any skill here by chatting.

How android-opus-codec: Encode/Decode Audio works
Codeflow
Free to inspect

Android-opus-codec: Encode/Decode Audio is a very large C project (~89k lines across 334 code files, plus 17 test files). It is a full software project: use it through its install path rather than reading it end to end. Last commit 41 months ago, no license file, has a test suite.

Size
Very large codebase
~89k lines · 334 code files · days to read — use, don't read
Setup
Developer setup
A real software project. Use it via its install path; don't expect to read it all.
Runs on
Java/JVM
No API keys detected
C 54%Makefile 32%Shell 12%M4 1%Assembly 1%
Where to start reading
  1. 1
    README.md
    Start here — what it does and how to install it
  2. 2
    app/src/main/jni/libopusenc/README.md
    Inside app/ — the main logic begins here
What's in each folder
app/Core code — the actual logic1537 files
opus/Folder27 files
gradle/Folder2 files
.idea/Editor / agent settings6 files
READMEHas testsDocumentedNo CINo licenseLast update 41 mo ago
Quick Actions
Details
Creator
theeasiestway
Language
C
Category
ai-agent
Published
5/21/2020

Are you the creator of this tool? Claim your listing → and earn 85% of every sale.