genode/repos/gems/sculpt/launcher/mixer
Josef Söntgen 4a9e6a001f sculpt: add audio and mixer launcher
The audio launcher configures the 'bsd_audio_drv' component for normal
use where the micrphone selection should work on most Thinkpads.

The mixer launcher configures the 'record_play_mixer' component for
use with the 'audio' launcher and provides also examplary rules for
vbox6 launchers.
2024-04-12 15:08:01 +02:00

30 lines
1.1 KiB
Plaintext

<launcher pkg="record_play_mixer" priority="0">
<config jitter_ms="10">
<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>
<!-- 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 audio driver matching its configuration -->
<policy label="audio -> left" record="left" period_ms="12" jitter_ms="5" volume="1.0"/>
<policy label="audio -> right" record="right" period_ms="12" jitter_ms="5" volume="1.0"/>
</config>
<route>
<service name="Report"> <parent/> </service>
</route>
</launcher>