initial commit

This commit is contained in:
2026-04-04 22:03:11 +01:00
commit f3b3cfd8f2
10 changed files with 1155 additions and 0 deletions

3
src/vmr_http/web/bus.py Normal file
View File

@@ -0,0 +1,3 @@
from fastapi import APIRouter
router = APIRouter()

10
src/vmr_http/web/strip.py Normal file
View File

@@ -0,0 +1,10 @@
from fastapi import APIRouter, Depends
from vmr_http.dependencies import get_voicemeeter_client
router = APIRouter()
@router.get("/{index}/gain")
async def get_gain(index: int, voicemeeter=Depends(get_voicemeeter_client)):
return {"gain": voicemeeter.strip[index].gain}