Compare commits

..

No commits in common. "25b896c41dc7143a5d2ca3f2fdac74bf679bce71" and "7fcd9113c3d22e56c3760940debd66a66e0e977a" have entirely different histories.

4 changed files with 5 additions and 16 deletions

View file

@ -4,7 +4,6 @@ import (
"bufio"
"fmt"
"os/exec"
"sort"
"strconv"
"strings"
)
@ -183,10 +182,6 @@ func ParseAmixerContent(cardId string) ([]*CardControl, error) {
}
err = cmd.Wait()
// Sort mixers by NumID
sort.Sort(ByNumID(ret))
return ret, err
}
@ -207,9 +202,3 @@ func (cc *CardControl) CsetAmixer(cardId string, values ...string) error {
return cmd.Wait()
}
type ByNumID []*CardControl
func (a ByNumID) Len() int { return len(a) }
func (a ByNumID) Swap(i, j int) { a[i], a[j] = a[j], a[i] }
func (a ByNumID) Less(i, j int) bool { return a[i].NumID < a[j].NumID }

View file

@ -20,7 +20,7 @@
{#if (showInactives && $inputsList.length === 0) || (!showInactives && $activeInputs.length === 0)}
<li class="list-group-item py-3">
<span class="text-muted">
No active source.
Aucune source active.
</span>
</li>
{/if}

View file

@ -27,7 +27,7 @@
{#if $activeSources.length === 0 && $activeInputs.length === 0}
<div class="text-muted text-center mt-1 mb-1">
No active audio source currently.
Aucune source active pour l'instant.
</div>
{:else}
<marquee>
@ -38,7 +38,7 @@
{#if source.currentTitle}
<strong>{source.currentTitle}</strong> <span class="text-muted">@ {source.name}</span>
{:else}
{source.name} enabled
{source.name} activée
{/if}
</div>
</div>
@ -55,7 +55,7 @@
{/each}
<span class="text-muted">@ {input.name}</span>
{:else}
{input.name} enabled
{input.name} activée
{/if}
</div>
</div>

View file

@ -52,7 +52,7 @@
<div class="d-flex justify-content-between">
<div>
<i class="bi bi-speaker"></i>
Inputs
Sources
</div>
<button
class="btn btn-sm"