add target config

This commit is contained in:
mii443
2024-02-13 13:09:28 +09:00
parent b0ce52b3dd
commit 56df294787
3 changed files with 33 additions and 0 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
/target
./*.yaml

28
client.yaml Normal file
View 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

View File

@ -21,6 +21,10 @@ enum Commands {
struct Server {
#[arg(short, long)]
device: String,
#[arg(short, long)]
listen_address: String,
#[arg(short, long)]
port: String,
}
#[derive(Args, Debug)]