Skip to content

Clarify audio listener capture setup - #217

Merged
jfversluis merged 1 commit into
mainfrom
jfversluis-document-audio-streamer-listeners
Aug 5, 2026
Merged

jfversluis merged 1 commit into
mainfrom
jfversluis-document-audio-streamer-listeners

Conversation

@jfversluis

Copy link
Copy Markdown
Owner

Clarifies that audio listeners receive PCM data from a started AudioStreamer, not from AudioRecorder, and documents the Android microphone capture limitation.

Closes #215

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: d960676f-2408-4b0c-a5a8-48744555a4e7

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the documentation for the audio listener pipeline to clarify that listeners consume PCM data produced by a started AudioStreamer (via OnAudioCaptured), not by AudioRecorder, and calls out an Android limitation when attempting to capture microphone audio concurrently.

Changes:

  • Adds an IMPORTANT note explaining that audio listeners require PCM from AudioStreamer and need StartAsync() to begin supplying samples.
  • Documents that running AudioRecorder and AudioStreamer concurrently (especially on Android) can result in one capture session receiving no samples.
  • Updates the basic example to show creating an AudioStreamer and starting it.
Show a summary per file
File Description
docs/audio-listeners.md Clarifies listener data source (AudioStreamer PCM) and documents Android concurrent microphone capture limitation; updates sample to start streaming.

Review details

  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Lite

@jfversluis
jfversluis merged commit 74aa6f7 into main Aug 5, 2026
3 checks passed
@jfversluis
jfversluis deleted the jfversluis-document-audio-streamer-listeners branch August 5, 2026 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DecibelListener with an AudioRecorder - Decibel always = 0

2 participants