crates/veilvoice-cli/src/accel.rs
veilvoice-cli · 90 lines · read the source here · or on GitHub
veilvoice accel reports the graphics hardware here, and what it is good for.
In plain words
Lists the graphics devices on this computer and says which of them can encode video, so you can pick one when making a video of a conversation.
It also says, with the measurement behind it, why the voice changing itself does not use a graphics card: it is already about a hundred times faster than real time, and moving that work onto a card would slow it down.
WHAT THIS FILE CONTAINS
90 lines defining 1 function (1 public), 0 types and 0 constants. Everything below is read out of the source, so it cannot disagree with the code.
What happens when it runs. These are the ways in: public, and nothing else in this file calls them, so they are what an outside caller reaches first.
showline 16 · Show what this machine has.
WHAT CALLS WHAT
The functions this file defines, and the calls between them. An edge means the callee's name appears, called, inside the caller's body. This is a syntactic reading, not a type-resolved one.
The same graph as Mermaid source
%%{init: {"theme":"base","themeVariables":{"background":"#1a1b26","primaryColor":"#1f2335","primaryTextColor":"#c0caf5","primaryBorderColor":"#7aa2f7","secondaryColor":"#16161e","tertiaryColor":"#16161e","lineColor":"#737aa2","textColor":"#c0caf5","mainBkg":"#1f2335","nodeBorder":"#7aa2f7","clusterBkg":"#16161e","clusterBorder":"#2f3549","fontFamily":"ui-monospace, SFMono-Regular, Consolas, monospace","fontSize":"14px"}}}%%
flowchart TD
n_show(["show<br/>line 16"])
click n_show href "https://github.com/tilas01/veilvoice/blob/main/crates/veilvoice-cli/src/accel.rs#L16" "open the source"
classDef entry fill:#1f2335,stroke:#7aa2f7,color:#c0caf5
class n_show entry
This site loads no third-party script, so it cannot run Mermaid; the diagram above is the same nodes and edges drawn by the generator instead. GitHub renders the source below directly.
ITEMS
| Item | Line | Documentation |
|---|---|---|
show pub fn | 16 | Show what this machine has. |