android-audio

Implement Android audio with SoundPool, Media3, and Oboe APIs.

1|Updated Feb 9, 2026
One-click install
npx skills add https://github.com/Pepsi1978/proggs --skill android-audio
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: android-audio
Source: https://github.com/Pepsi1978/proggs/tree/main/claude-code-setup/commands/android-audio
Command: npx skills add https://github.com/Pepsi1978/proggs --skill android-audio

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides a structured approach to implementing Android audio across multiple APIs (SoundPool, Media3, Oboe) and handling low-latency requirements to ensure consistent playback and UI feedback.

Core Features & Use Cases

  • API guidance for selecting SoundPool (short UI sounds), Media3 (music/streaming), or Oboe (real-time audio) based on use case.
  • Boilerplate components including a SoundEffectManager and a Media3 player example to accelerate implementation.
  • Best practices for audio focus, format choices, and cross-device compatibility in typical app scenarios.

Quick Start

Follow the steps to set up your Android project with the recommended audio APIs and boilerplate patterns described here.

Frequently Asked Questions about android-audio

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement low-latency Android audio for real-time apps?

For low-latency Android audio, use the Oboe library for real-time playback to ensure consistent performance. This approach provides the necessary boilerplate and best practices for handling audio focus and cross-device compatibility in real-time scenarios.

What's the best way to choose between SoundPool, Media3, and Oboe for Android audio playback?

Select SoundPool for short UI sound effects, Media3 for music or streaming playback, and Oboe for real-time audio needs. This API guidance ensures reliable Android audio integration by matching the library to your specific use case.

How do I handle audio focus correctly when building an Android media app?

To handle audio focus correctly in an Android media app, apply the provided best practices and boilerplate code samples. This ensures your app manages audio focus transitions properly, preventing overlapping sound effects and music playback across devices.

Does the Android-audio Skill provide boilerplate code for a SoundEffectManager?

Yes, it includes boilerplate components like a SoundEffectManager and a Media3 player example. These components accelerate Android audio implementation by providing ready-to-use code for consistent sound effects and music playback.

Why does my Android audio playback have inconsistent performance across different devices?

Inconsistent Android audio playback often stems from improper API selection or missing audio focus handling. Using the recommended cross-device compatibility best practices and correct format choices ensures consistent sound effects and music playback.

Can I use Media3 for streaming music in my Android game?

Yes, Media3 is recommended for music and streaming playback in Android apps. You can combine it with SoundPool for short UI sounds to achieve consistent audio integration and correct audio focus handling across your game.