audio-recording-e2e

command
v0.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 22, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

E2E test: exercises the full AAudio input stream lifecycle at 48 kHz.

The test opens an AAudio capture stream, reads ~1 second of audio, and verifies the lifecycle completes without errors. If a 440 Hz tone is being injected (via host PulseAudio or emulator gRPC), the test also verifies frequency detection via the Goertzel algorithm.

Pass with -detect-tone to require 440 Hz detection (exit 1 on failure). Without the flag, the test passes as long as AAudio works correctly.

Exit 0 = PASS, exit 1 = FAIL.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL