synit/protocols/schemas/audio.prs

36 lines
683 B
Plaintext
Raw Permalink Normal View History

2022-01-04 13:41:56 +00:00
version 1 .
2023-10-31 22:40:41 +00:00
# If headset present:
# - ringing: speaker & headset
# - notification: speaker & headset
# - non-speakerphone call: headset
# - speakerphone call: speaker
# - music: headset
#
# If headset absent:
# - ringing: speaker
# - notification: speaker
# - non-speakerphone call: earpiece
# - speakerphone call: speaker
# - music: speaker
#
2022-01-04 13:41:56 +00:00
.
Mapping = <alsa-mapping @abstract Endpoint @concrete string> .
Endpoint = <source @value Source> / <sink @value Sink> .
2022-01-04 13:41:56 +00:00
Sink =
/ =speaker
/ =headset
/ =earpiece
.
Source =
/ =speakerphone
/ =headset
/ =handset
.
HeadsetSpeakerPresent = <headset-speaker-present> .
HeadsetMicrophonePresent = <headset-microphone-present> .