Some more renaming

pull/3/head
lawl 4 years ago
parent 3b544587b4
commit 71223d4b2f

@ -88,7 +88,7 @@ func loadSupressor(c *pulseaudio.Client, inp input, ui *uistate) error {
time.Sleep(time.Millisecond * 500) // pulseaudio actually crashes if we send these too fast
idx, err = c.LoadModule("module-remap-source", `master=nui_mic_denoised_out.monitor `+
`source_name=nui_mic_remap source_properties="device.description='Denoised Microphone'"`)
`source_name=nui_mic_remap source_properties="device.description='NoiseTorch Microphone'"`)
if err != nil {
return err
}

@ -86,7 +86,7 @@ func updatefn(w *nucular.Window, ui *uistate) {
w.Row(25).Dynamic(2)
if ui.noiseSupressorState != unloaded {
if w.ButtonText("Unload Denoised Virtual Microphone") {
if w.ButtonText("Unload NoiseTorch") {
ui.loadingScreen = true
go func() { // don't block the UI thread, just display a working screen so user can't run multiple loads/unloads
if err := unloadSupressor(ui.paClient); err != nil {
@ -105,9 +105,9 @@ func updatefn(w *nucular.Window, ui *uistate) {
} else {
w.Spacing(1)
}
txt := "Load Denoised Virtual Microphone"
txt := "Load NoiseTorch"
if ui.noiseSupressorState == loaded {
txt = "Reload Denoised Virtual Microphone"
txt = "Reload NoiseTorch"
}
if inp, ok := inputSelection(ui); ok && ui.noiseSupressorState != inconsistent {
if w.ButtonText(txt) {

Loading…
Cancel
Save