diff --git a/sources/spdif/source.go b/sources/spdif/source.go index b94e2a1..3dbb469 100644 --- a/sources/spdif/source.go +++ b/sources/spdif/source.go @@ -80,10 +80,6 @@ func (s *SPDIFSource) Enable() error { if err != nil { return err } - // If no bitrate, asume soundcard is sleeping, try to wake up with a random bitrate - if sr == 0 { - sr = 44100 - } s.Bitrate = sr // If no bitrate, asume soundcard is sleeping, try to wake up with a random bitrate diff --git a/ui/src/lib/components/Inputs.svelte b/ui/src/lib/components/Inputs.svelte index 155c3bc..691a494 100644 --- a/ui/src/lib/components/Inputs.svelte +++ b/ui/src/lib/components/Inputs.svelte @@ -25,7 +25,7 @@ {/if} {#each $inputsList as input, iid} - {#if input.streams && (showInactives || input.active)} + {#if showInactives || input.active} {#each Object.keys(input.streams) as idstream} {@const title = input.streams[idstream]}