Commit fa00c05
committed
fix: respect external USB-C microphone for voice message recording
overrideOutputAudioPort(.speaker) forces both output and input to
built-in devices, ignoring external USB-C microphones (e.g. wireless
mic receivers) that the user selected in iOS Settings.
After the override, check availableInputs for non-built-in, non-bluetooth,
non-headphone input devices and restore them as preferred input.
This preserves existing behavior when no external device is connected.
Fixes: voice messages ignore USB-C microphone on iOS 26+1 parent 63a37c5 commit fa00c05
1 file changed
Lines changed: 11 additions & 0 deletions
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1065 | 1065 | | |
1066 | 1066 | | |
1067 | 1067 | | |
| 1068 | + | |
| 1069 | + | |
| 1070 | + | |
| 1071 | + | |
| 1072 | + | |
| 1073 | + | |
| 1074 | + | |
| 1075 | + | |
| 1076 | + | |
| 1077 | + | |
| 1078 | + | |
1068 | 1079 | | |
1069 | 1080 | | |
1070 | 1081 | | |
| |||
0 commit comments