{#snippet deviceSection(section: DeviceSection | null)} {#if section} {#if section.devices.length === 0} {:else} selectDevice(section, Number(e.currentTarget.value))} > {#each section.devices as d, i (d.name)} {d.description} {/each} setVolume(section, Number(e.currentTarget.value))} /> {section.devices[section.selected].percent}% section.devices[section.selected].mute, (v) => setMute(section, v) } /> {/if} {/if} {/snippet} {@render deviceSection(output)} {@render deviceSection(input)} invoke("open_mixer")}>Open advanced mixer (pavucontrol)