mirror of
https://github.com/onyx-and-iris/vmr-http.git
synced 2026-04-06 18:09:11 +00:00
switch to sync endpoints, there isn't a lot of value in keeping them async.
patch bump
This commit is contained in:
@@ -10,9 +10,7 @@ router = APIRouter()
|
||||
|
||||
@router.patch('')
|
||||
@router.put('')
|
||||
async def update_strip_denoiser_params(
|
||||
index: int, params: StripDenoiserParams, voicemeeter=Depends(get_voicemeeter_client)
|
||||
):
|
||||
def update_strip_denoiser_params(index: int, params: StripDenoiserParams, voicemeeter=Depends(get_voicemeeter_client)):
|
||||
"""Update one or more denoiser parameters for the specified strip index."""
|
||||
strip_denoiser = voicemeeter.strip[index].denoiser
|
||||
updated = {}
|
||||
@@ -23,7 +21,7 @@ async def update_strip_denoiser_params(
|
||||
|
||||
|
||||
@router.get('/knob')
|
||||
async def get_strip_denoiser_knob(
|
||||
def get_strip_denoiser_knob(
|
||||
index: int,
|
||||
voicemeeter=Depends(get_voicemeeter_client),
|
||||
):
|
||||
|
||||
Reference in New Issue
Block a user