Commit 1eb0dcd
committed
ASoC: iqaudio-codec: Add mic-only start-up delay
Prior to this change, every stream start was subject to a 1 second delay
to allow for the microphone circuitry to settle, even if a microphone is
not being used. This blocking delay, as well as being pointless for non-
capture applications, can be problematic for synchronous use-cases such
as alsa_recover() in PipeWire.
Add a dedicated widget to handle the microphone delay, and link it into
the microphone routes.
See: #7525
Signed-off-by: Phil Elwell <phil@raspberrypi.com>1 parent 7afb7e9 commit 1eb0dcd
1 file changed
Lines changed: 13 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
63 | | - | |
64 | | - | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
65 | 65 | | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
76 | 71 | | |
77 | 72 | | |
78 | 73 | | |
| |||
90 | 85 | | |
91 | 86 | | |
92 | 87 | | |
93 | | - | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
94 | 91 | | |
95 | 92 | | |
96 | 93 | | |
| |||
105 | 102 | | |
106 | 103 | | |
107 | 104 | | |
| 105 | + | |
108 | 106 | | |
109 | 107 | | |
| 108 | + | |
110 | 109 | | |
111 | 110 | | |
112 | 111 | | |
| |||
0 commit comments