|
| 1 | +# High Fidelity Audio Rendering for 3.5mm JACK and USB-A/USB-C Endpoints in Linux |
| 2 | +Verify High Fidelity Audio Rendering for 3.5mm JACK and USB-A/USB-C Endpoints in Linux |
| 3 | + |
| 4 | +## Preconditions |
| 5 | +1. The system is powered on. |
| 6 | +2. A Linux-based system with 3.5mm audio JACK and USB-A/USB-C is available. |
| 7 | +3. High-quality audio files for testing are available. |
| 8 | +4. Ensure the appropriate audio topology file (96kHz/192kHz supported) is configured. |
| 9 | + |
| 10 | +## Test Description |
| 11 | +* Verification of high fidelity audio rendering for 3.5mm JACK and USB-A/USB-C endpoints in Linux. |
| 12 | +* Playback should be smooth without any glitches or noise. |
| 13 | + |
| 14 | +## Playback via 3.5mm JACK Headset |
| 15 | +1. Clear the dmesg log: |
| 16 | + ```bash |
| 17 | + sudo dmesg -c |
| 18 | + ``` |
| 19 | +2. Plug the 3.5mm audio jack into the DUT. |
| 20 | +3. Play a high-quality 96kHz audio file: |
| 21 | + ```bash |
| 22 | + time aplay -Dhw:0,0 -c 2 -r 96000 -f S24_LE /tmp/sample_96KHz.wav -d 10 |
| 23 | + ``` |
| 24 | +4. Check the dmesg log: |
| 25 | + ```bash |
| 26 | + dmesg | grep -E "snd|sof|soc" | grep -i error |
| 27 | + ``` |
| 28 | +5. Play a high-quality 192kHz audio file: |
| 29 | + ```bash |
| 30 | + time aplay -Dhw:0,0 -c 2 -r 192000 -f S24_LE /tmp/sample_192KHz.wav -d 10 |
| 31 | + ``` |
| 32 | +6. Check the dmesg log: |
| 33 | + ```bash |
| 34 | + dmesg | grep -E "snd|sof|soc" | grep -i error |
| 35 | + ``` |
| 36 | +7. Repeat steps 2-6 for USB-A/USB-C headsets. |
| 37 | + |
| 38 | +## Expected Results |
| 39 | +1. No audio-related errors observed in the dmesg log. |
| 40 | +2. The 3.5mm JACK device should be listed. |
| 41 | +3. Terminal output rate = 96000 and format = S24_LE, real time is nearly equal to mentioned playback duration (i,e. 10 sec) |
| 42 | +4. No audio errors or failures should be present in the dmesg log. |
| 43 | +5. Terminal output rate = 192000 and format = S24_LE, real time is nearly equal to mentioned playback duration (i,e. 10 sec) |
| 44 | +6. No audio errors or failures should be present in the dmesg log. |
| 45 | +7. Results should be the same as steps 2 to 6. |
0 commit comments