os: add pkg for record_player_mixer

Issue genodelabs/genode#5167.
This commit is contained in:
Josef Söntgen 2024-02-27 14:14:05 +01:00 committed by Christian Helmuth
parent 489d87c4b0
commit 600e5424a5
4 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,2 @@
Runtime for deploying the record_play_mixer component from the depot

View File

@ -0,0 +1 @@
_/src/record_play_mixer

View File

@ -0,0 +1 @@
2023-12-12 020f357aaab11d41617e4dfcd29c2395ad8afb23

View File

@ -0,0 +1,32 @@
<runtime ram="2M" caps="100" binary="record_play_mixer">
<provides> <record/> <play/> </provides>
<config jitter_ms="10">
<mix name="left">
<!-- default rule -->
<play label_suffix=" -> left" volume="0.7"/>
</mix>
<mix name="right">
<!-- default rule -->
<play label_suffix=" -> right" volume="0.7"/>
</mix>
<mix name="mic_left"> <play label="audio -> mic_left"/> </mix>
<mix name="mic_right"> <play label="audio -> mic_right"/> </mix>
<!-- audio driver that wants to play back -->
<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"/>
<!-- default rule for clients that want to record from the microphone -->
<policy label_suffix="left" record="mic_left" period_ms="12" jitter_ms="5" volume="1.0"/>
<policy label_suffix="right" record="mic_right" period_ms="12" jitter_ms="5" volume="1.0"/>
</config>
<content>
<rom label="ld.lib.so"/>
<rom label="record_play_mixer"/>
</content>
</runtime>