Update readme

This commit is contained in:
Vasiliy Doylov 2024-11-23 21:00:37 +03:00
parent eed716e17f
commit ee16d110cd
Signed by: NekoCWD
GPG key ID: B7BE22D44474A582
3 changed files with 67 additions and 1 deletions

View file

@ -2,10 +2,12 @@
The program is similar to q6voiced, but without dbus dep and written in Vala.
It listens to the ModemManager interface and opens an ALSA stream on the VoiceMMode1 device.
It listens to the alsa ctl changes and opens/restarts streams on the VoiceMMode1 device.
In the future, it will be replaced by a codec-to-codec connection in the kernel, but for now we need to use this workaround
![Diagram](q6meow.svg)
Usage:
Start without arguments to parse /etc/conf.d/q6voiced configuration.

63
q6meow.drawio Normal file
View file

@ -0,0 +1,63 @@
<mxfile host="65bd71144e">
<diagram id="C5RBs43oDa-KdzZeNtuy" name="Page-1">
<mxGraphModel dx="1429" dy="798" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" background="none" math="0" shadow="0">
<root>
<mxCell id="WIyWlLk6GJQsqaUBKTNV-0"/>
<mxCell id="WIyWlLk6GJQsqaUBKTNV-1" parent="WIyWlLk6GJQsqaUBKTNV-0"/>
<mxCell id="TRw2bQQUaShheNu_YPmU-2" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;labelBackgroundColor=none;fillColor=#b1ddf0;strokeColor=#10739e;exitX=0.933;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="WIyWlLk6GJQsqaUBKTNV-6" target="TRw2bQQUaShheNu_YPmU-0" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="439" y="415" as="targetPoint"/>
<Array as="points">
<mxPoint x="509" y="525"/>
<mxPoint x="509" y="415"/>
</Array>
<mxPoint x="469" y="525" as="sourcePoint"/>
</mxGeometry>
</mxCell>
<mxCell id="TRw2bQQUaShheNu_YPmU-10" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;labelBackgroundColor=none;fillColor=#b1ddf0;strokeColor=#10739e;exitX=0.5;exitY=0.965;exitDx=0;exitDy=0;exitPerimeter=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="WIyWlLk6GJQsqaUBKTNV-6" target="WIyWlLk6GJQsqaUBKTNV-10" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="WIyWlLk6GJQsqaUBKTNV-6" value="Alsa event pending" style="rhombus;html=1;shadow=0;fontFamily=Helvetica;fontSize=12;align=center;strokeWidth=1;spacing=6;spacingTop=-4;fillColor=#a20025;labelBackgroundColor=none;rounded=1;fontColor=#FFFFFF;strokeColor=#6F0000;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="319" y="485" width="150" height="80" as="geometry"/>
</mxCell>
<mxCell id="TRw2bQQUaShheNu_YPmU-7" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;labelBackgroundColor=none;strokeColor=#10739e;fillColor=#b1ddf0;exitX=0.965;exitY=0.507;exitDx=0;exitDy=0;exitPerimeter=0;endArrow=none;endFill=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="WIyWlLk6GJQsqaUBKTNV-10" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="509" y="515" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="TRw2bQQUaShheNu_YPmU-13" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;labelBackgroundColor=none;fillColor=#b1ddf0;strokeColor=#10739e;exitX=0.501;exitY=0.966;exitDx=0;exitDy=0;exitPerimeter=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="WIyWlLk6GJQsqaUBKTNV-10" target="TRw2bQQUaShheNu_YPmU-12" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="WIyWlLk6GJQsqaUBKTNV-10" value="&lt;div&gt;Event&amp;nbsp;&lt;/div&gt;&lt;div&gt;element name&amp;nbsp;&lt;/div&gt;&lt;div&gt;contains&amp;nbsp;&lt;/div&gt;&lt;div&gt;VoiceMMode&lt;/div&gt;" style="rhombus;html=1;shadow=0;fontFamily=Helvetica;fontSize=12;align=center;strokeWidth=1;spacing=6;spacingTop=-4;fillColor=#a20025;labelBackgroundColor=none;rounded=1;fontColor=#FFFFFF;strokeColor=#6F0000;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="326.5" y="595" width="135" height="110" as="geometry"/>
</mxCell>
<mxCell id="TRw2bQQUaShheNu_YPmU-1" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;labelBackgroundColor=none;fillColor=#b1ddf0;strokeColor=#10739e;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="TRw2bQQUaShheNu_YPmU-0" target="WIyWlLk6GJQsqaUBKTNV-6" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="TRw2bQQUaShheNu_YPmU-0" value="&lt;span style=&quot;&quot;&gt;Start&lt;/span&gt;" style="ellipse;html=1;fillColor=#008a00;labelBackgroundColor=none;labelBorderColor=none;rounded=1;shadow=0;fontColor=#FFFFFF;strokeColor=#005700;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="359" y="395" width="70" height="40" as="geometry"/>
</mxCell>
<mxCell id="TRw2bQQUaShheNu_YPmU-15" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;labelBackgroundColor=none;fillColor=#b1ddf0;strokeColor=#10739e;endArrow=none;endFill=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="TRw2bQQUaShheNu_YPmU-12" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="509" y="635" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="TRw2bQQUaShheNu_YPmU-12" value="Restart streams" style="rounded=1;html=1;fillColor=#6a00ff;labelBackgroundColor=none;fontColor=#FFFFFF;strokeColor=#3700CC;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="341.5" y="735" width="105" height="20" as="geometry"/>
</mxCell>
<mxCell id="0" value="No" style="rounded=1;whiteSpace=wrap;html=1;shadow=0;labelBackgroundColor=none;fillColor=#e51400;fontColor=#FFFFFF;strokeColor=#B20000;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="469" y="495" width="30" height="20" as="geometry"/>
</mxCell>
<mxCell id="1" value="No" style="rounded=1;whiteSpace=wrap;html=1;shadow=0;labelBackgroundColor=none;fillColor=#e51400;fontColor=#FFFFFF;strokeColor=#B20000;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="469" y="615" width="30" height="20" as="geometry"/>
</mxCell>
<mxCell id="2" value="Yes" style="rounded=1;whiteSpace=wrap;html=1;shadow=0;labelBackgroundColor=none;fillColor=#6d8764;fontColor=#FFFFFF;strokeColor=#3A5431;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="409" y="565" width="30" height="20" as="geometry"/>
</mxCell>
<mxCell id="3" value="Yes" style="rounded=1;whiteSpace=wrap;html=1;shadow=0;labelBackgroundColor=none;fillColor=#6d8764;fontColor=#FFFFFF;strokeColor=#3A5431;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="409" y="705" width="30" height="20" as="geometry"/>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>

1
q6meow.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 11 KiB