mirror of
https://github.com/mii443/maudio-router.git
synced 2025-08-22 16:05:35 +00:00
add target config
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
|||||||
/target
|
/target
|
||||||
|
./*.yaml
|
28
client.yaml
Normal file
28
client.yaml
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
routes:
|
||||||
|
input:
|
||||||
|
- name: "Mic from linux"
|
||||||
|
virtual_device: "mic"
|
||||||
|
device:
|
||||||
|
remote:
|
||||||
|
address: "192.168.30.1"
|
||||||
|
port: 5000
|
||||||
|
protocol: "udp"
|
||||||
|
buffer: 512
|
||||||
|
channels: 2
|
||||||
|
output:
|
||||||
|
- name: "Speaker"
|
||||||
|
input:
|
||||||
|
virtual_device: "mic"
|
||||||
|
device:
|
||||||
|
local:
|
||||||
|
name: "VoiceMeeter Input (VB-Audio VoiceMeeter VAIO)"
|
||||||
|
- name: "Forward to android"
|
||||||
|
input:
|
||||||
|
virtual_device: "mic"
|
||||||
|
device:
|
||||||
|
remote:
|
||||||
|
address: "192.168.2.254"
|
||||||
|
port: 5000
|
||||||
|
protocol: "udp"
|
||||||
|
buffer: 512
|
||||||
|
channels: 2
|
@ -21,6 +21,10 @@ enum Commands {
|
|||||||
struct Server {
|
struct Server {
|
||||||
#[arg(short, long)]
|
#[arg(short, long)]
|
||||||
device: String,
|
device: String,
|
||||||
|
#[arg(short, long)]
|
||||||
|
listen_address: String,
|
||||||
|
#[arg(short, long)]
|
||||||
|
port: String,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Args, Debug)]
|
#[derive(Args, Debug)]
|
||||||
|
Reference in New Issue
Block a user