sculpt: default rules in audio and mixer launchers

Issue #5174.
This commit is contained in:
Josef Söntgen 2024-04-16 15:22:46 +02:00 committed by Christian Helmuth
parent 08ecddf5ca
commit c822dc0f18

View File

@ -1,23 +1,24 @@
<launcher pkg="record_play_mixer" priority="0">
<config jitter_ms="10">
<!--
These default wildcard rules match all regular play clients.
Please check the mixer report to replace the fuzzy configuration
with absolute labels in case you want to discern multiple clients.
-->
<mix name="left">
<play label_suffix="vbox -> left" volume="0.7"/>
<!-- default rule -->
<play label_suffix=" -> left" volume="0.5"/>
</mix>
<mix name="right">
<play label_suffix="vbox -> right" volume="0.7"/>
<!-- default rule -->
<play label_suffix=" -> right" volume="0.5"/>
</mix>
<!-- capture microphone -->
<mix name="mic_left"> <play label="audio -> mic_left"/> </mix>
<mix name="mic_right"> <play label="audio -> mic_right"/> </mix>
<mix name="mic_left"> <!-- <play label="audio -> mic_left"/> --></mix>
<mix name="mic_right"> <!-- <play label="audio -> mic_right"/> --></mix>
<!-- rule for vbox6 VMs matching their OSS configuration -->
<policy label_suffix="vbox -> left" record="mic_left" period_ms="46" jitter_ms="23" volume="1.0"/>
<policy label_suffix="vbox -> right" record="mic_right" period_ms="46" jitter_ms="23" volume="1.0"/>
<!-- rule for the vbox6 VM matching its OSS configuration -->
<!-- <policy label="vbox6 -> vbox -> left" record="mic_left" period_ms="46" jitter_ms="23" volume="1.0"/> -->
<!-- <policy label="vbox6 -> vbox -> right" record="mic_right" period_ms="46" jitter_ms="23" volume="1.0"/> -->
<!-- rule for the audio driver matching its configuration -->
<policy label="audio -> left" record="left" period_ms="12" jitter_ms="5" volume="1.0"/>