diff --git a/server/server_config.js b/server/server_config.js index fdfb970..064afe9 100644 --- a/server/server_config.js +++ b/server/server_config.js @@ -45,11 +45,7 @@ let serverConfig = { audioDevice: "Microphone (High Definition Audio Device)", audioChannels: 2, audioBitrate: "128k", - audioBoost: false, - softwareMode: false, - startupVolume: "1", - ffmpeg: false, - samplerateOffset: "0" + startupVolume: "1" }, identification: { token: null, diff --git a/server/stream/index.js b/server/stream/index.js index a606920..2e7f73d 100644 --- a/server/stream/index.js +++ b/server/stream/index.js @@ -21,7 +21,7 @@ checkFFmpeg().then((ffmpegPath) => { logInfo(`${consoleLogTitle} Using ${ffmpegPath === 'ffmpeg' ? 'system-installed FFmpeg' : 'ffmpeg-static'}`); logInfo(`${consoleLogTitle} Starting audio stream on device: \x1b[35m${serverConfig.audio.audioDevice}\x1b[0m`); - const sampleRate = Number(serverConfig.audio.sampleRate || 44100) + Number(serverConfig.audio.samplerateOffset || 0); // Maybe even do 32 khz, we do not need higher than 15 khz precision + const sampleRate = Number(serverConfig.audio.sampleRate || 44100); // Maybe even do 32 khz, we do not need higher than 15 khz precision const channels = Number(serverConfig.audio.audioChannels || 2); diff --git a/views/setup.ejs b/views/setup.ejs index c583cd6..27e386d 100644 --- a/views/setup.ejs +++ b/views/setup.ejs @@ -213,33 +213,7 @@ ] }) %>
- - -
-
-

Audio boost

-

This option will boost the audio volume. Use if the output is too quiet.

- <%- include('_components', {component: 'checkbox', cssClass: '', label: 'Audio Boost', id: 'audio-audioBoost'}) %>
-
-

Experimental

-

If you use a USB audio card on Linux, enabling this option might fix your audio issues.

- <%- include('_components', {component: 'checkbox', cssClass: '', label: 'ALSA Software mode', id: 'audio-softwareMode'}) %> -
-
-
-
-

FFmpeg

-

Legacy option for Linux / macOS that could resolve audio issues, but will consume additional CPU and RAM usage.

- <%- include('_components', {component: 'checkbox', cssClass: '', label: 'Additional FFmpeg', id: 'audio-ffmpeg'}) %> -
-
-

Sample rate offset

-

Using a negative value could eliminate audio buffering issues during long periods of listening.
- However, a value that’s too low might increase the buffer over time.

-

-
-
@@ -429,12 +403,10 @@

Toggling this option will put the tuner to sleep when no clients are connected.

<%- include('_components', {component: 'checkbox', cssClass: '', label: 'Auto-shutdown', id: 'autoShutdown'}) %>
-
-
-

SI47XX AGC control

-

Allow users to change SI47XX AGC mode from the main UI.

- <%- include('_components', {component: 'checkbox', cssClass: '', label: 'Enable AGC control', id: 'si47xx-agcControl'}) %>
-
+
+

SI47XX AGC control

+

Allow users to change SI47XX AGC mode from the main UI.

+ <%- include('_components', {component: 'checkbox', cssClass: '', label: 'Enable AGC control', id: 'si47xx-agcControl'}) %>
diff --git a/views/wizard.ejs b/views/wizard.ejs index 89a6953..6d7c724 100644 --- a/views/wizard.ejs +++ b/views/wizard.ejs @@ -142,19 +142,6 @@ ] }) %> - -
-
-
-

If you use an USB audio card on Linux, enabling this option might fix your audio issues.

- <%- include('_components', {component: 'checkbox', cssClass: 'panel-100 flex-container flex-center', label: 'ALSA Software mode', id: 'audio-softwareMode'}) %> -
-
-

Legacy option for Linux / macOS that could resolve audio issues, but will consume additional CPU and RAM usage.

- <%- include('_components', {component: 'checkbox', cssClass: 'panel-100 flex-container flex-center', label: 'Additional FFmpeg', id: 'audio-ffmpeg'}) %> -
-
-