2026-07-25 12:39:32 +02:00
|
|
|
extension Sound {
|
|
|
|
|
/// The microphone used when recording.
|
|
|
|
|
public enum MicSource: UInt32, Sendable {
|
2026-07-25 12:55:53 +02:00
|
|
|
/// Use the headset microphone if one is connected, otherwise the
|
|
|
|
|
/// built-in microphone.
|
2026-07-25 12:39:32 +02:00
|
|
|
case autodetect = 0
|
2026-07-25 12:55:53 +02:00
|
|
|
/// Always use the built-in microphone.
|
2026-07-25 12:39:32 +02:00
|
|
|
case internalMic = 1
|
2026-07-25 12:55:53 +02:00
|
|
|
/// Always use the headset microphone.
|
2026-07-25 12:39:32 +02:00
|
|
|
case headset = 2
|
|
|
|
|
}
|
|
|
|
|
}
|