Skip to content

Commit 6be514b

Browse files
committed
Add manual test case for DMIC capture
1 parent c9b03e5 commit 6be514b

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# Check DMIC 2ch/4ch
2+
3+
Verification of 2ch/4ch DMIC recording
4+
5+
## Preconditions
6+
1. The system is powered on.
7+
2. A Linux-based system with Realtek AIOC and transducer card is available
8+
9+
10+
## Test Description
11+
* Verification of 2ch/4ch DMIC recording
12+
* Recording should happen without any issue
13+
* Playback should be smooth without any glitches or noise.
14+
15+
## Recording via 2ch/4ch DMIC
16+
1. Verify dmic device list.
17+
```bash
18+
arecord -l
19+
```
20+
2. Capture audio using dmic device:
21+
```bash
22+
arecord -Dhw:0,0 -c 2 -r 48000 -f S24_LE -d 20 test.wav -vvv for 2Ch
23+
arecord -Dhw:0,6 -c 4 -r 48000 -f S32_LE -d 15 test3.wav -vvv for 4ch
24+
```
25+
3. Play and verify the audio file recorded in step 3:
26+
```bash
27+
aplay -Dhw:0,0 -c 2 -r 48000 -f S24_LE test.wav -vvv
28+
```
29+
Note : 4ch dmic recording copy in IT laptop and play & verify
30+
```
31+
4. Check the dmesg log:
32+
```bash
33+
dmesg | grep -E "snd|sof|soc" | grep -i error
34+
```
35+
36+
37+
## Expected Results
38+
1. DMIC devices should list
39+
2. Audio capture should happen without any issues
40+
3. Playback should be smooth without any glitch
41+
4. No audio errors or failures should be present in the dmesg log.
42+

0 commit comments

Comments
 (0)