@@ -49,9 +49,10 @@ At a high level, the test:
4949 - Duration control:
5050 - audiotestsrc: Buffer count calculated dynamically: ` (44100 * duration) / 1024 `
5151 - pulsesrc: Uses timeout command to stop recording after specified duration
52- 5 . ** Playback phase (DECODE - 4 tests)** :
52+ 5 . ** Playback phase (DECODE - 6 tests)** :
5353 - Reads the previously recorded files (both audiotestsrc and pulsesrc recordings)
5454 - Decodes and plays back using pulsesink
55+ - Plays back external test files (OGG/MP3 formats)
55566 . Collects test results and emits PASS/FAIL/SKIP
5657
5758---
@@ -219,7 +220,7 @@ Help:
219220
220221## Examples
221222
222- ### 1) Run all tests (default - 8 tests: 4 encode + 4 decode for WAV and FLAC with 10 second duration)
223+ ### 1) Run all tests (default - 10 tests: 4 encode + 6 decode for WAV, FLAC, OGG, and MP3 with 10 second duration)
223224
224225``` bash
225226./run.sh
@@ -231,19 +232,19 @@ Help:
231232./run.sh --mode record
232233```
233234
234- ### 3) Run only playback tests (4 decode tests - requires recorded files from previous run)
235+ ### 3) Run only playback tests (6 decode tests - requires recorded files from previous run, plus OGG/MP3 test files )
235236
236237``` bash
237238./run.sh --mode playback
238239```
239240
240- ### 4) Test only WAV format (4 tests: 2 encode + 2 decode)
241+ ### 4) Test only WAV format (6 tests total : 2 encode + 2 decode + 2 OGG/MP3 playback )
241242
242243``` bash
243244./run.sh --formats wav
244245```
245246
246- ### 5) Test only FLAC format (4 tests: 2 encode + 2 decode)
247+ ### 5) Test only FLAC format (6 tests total : 2 encode + 2 decode + 2 OGG/MP3 playback )
247248
248249``` bash
249250./run.sh --formats flac
@@ -255,7 +256,7 @@ Help:
255256./run.sh --duration 30
256257```
257258
258- ### 7) Quick test - WAV only with 3 second duration (4 tests)
259+ ### 7) Quick test - WAV only with 3 second duration (6 tests total )
259260
260261``` bash
261262./run.sh --formats wav --duration 3
@@ -546,11 +547,12 @@ The test supports these environment variables (can be set in LAVA job definition
546547
547548### Test Counting
548549
549- - ** Total tests** : 8 (when running with default wav,flac formats in all mode)
550+ - ** Total tests** : 10 (when running with default wav,flac formats in all mode)
550551 - 4 encode tests (2 audiotestsrc + 2 pulsesrc)
551- - 4 decode tests (2 audiotestsrc playback + 2 pulsesrc playback)
552+ - 6 decode tests (2 audiotestsrc playback + 2 pulsesrc playback + 2 OGG/MP3 playback)
552553- ** Pass/Fail/Skip are mutually exclusive** : Each test increments exactly one counter
553554- ** Plugin unavailability** : pulsesrc tests will skip if pulsesrc plugin is not available, but audiotestsrc tests will still run
555+ - ** Test file availability** : OGG/MP3 playback tests will skip if test files are not available
554556
555557---
556558
0 commit comments