File tree Expand file tree Collapse file tree 5 files changed +7
-1
lines changed
Expand file tree Collapse file tree 5 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -208,6 +208,7 @@ ENV ZEROCONF_NAME ""
208208ENV HYBRID_DSD_ENABLED ""
209209
210210ENV MAX_OUTPUT_BUFFER_SIZE ""
211+ ENV AUDIO_BUFFER_SIZE ""
211212
212213ENV MAX_ADDITIONAL_OUTPUTS_BY_TYPE ""
213214
Original file line number Diff line number Diff line change @@ -122,6 +122,7 @@ ZEROCONF_ENABLED|Set to `yes` to enable. Disabled by default.
122122ZEROCONF_NAME|Set zeroconf name, used only if ` ZEROCONF_ENABLED ` is set to ` yes `
123123HYBRID_DSD_ENABLED|Hybrid dsd is enabled by default, set to ` no ` to disable. Disabled when using Pulse mode.
124124MAX_OUTPUT_BUFFER_SIZE|The maximum size of the output buffer to a client (maximum response size). Default is 8192 (8 MiB). Value in KBytes.
125+ AUDIO_BUFFER_SIZE|Adjust the size of the internal audio buffer. Default is ` 4 MB ` (4 MiB).
125126MAX_ADDITIONAL_OUTPUTS_BY_TYPE|The maximum number of outputs by type, defaults to ` 20 `
126127RESTORE_PAUSED|If set to ` yes ` , then MPD is put into pause mode instead of starting playback after startup. Default is ` no ` .
127128STATE_FILE_INTERVAL|Auto-save the state file this number of seconds after each state change, defaults to ` 10 ` seconds
Original file line number Diff line number Diff line change 668668if [ -n " ${MAX_OUTPUT_BUFFER_SIZE} " ]; then
669669 echo " max_output_buffer_size \" ${MAX_OUTPUT_BUFFER_SIZE} \" " >> $MPD_ALSA_CONFIG_FILE
670670fi
671+ if [ -n " ${AUDIO_BUFFER_SIZE} " ]; then
672+ echo " audio_buffer_size \" ${AUDIO_BUFFER_SIZE} \" " >> $MPD_ALSA_CONFIG_FILE
673+ fi
671674echo " filesystem_charset \" UTF-8\" " >> $MPD_ALSA_CONFIG_FILE
672675
673676number_re=" ^[0-9]+$"
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ echo "Base Image Tag: ["$selected_image_tag"]"
6464echo " Build Tag: [" $tag " ]"
6565echo " Proxy: [" $proxy " ]"
6666
67- docker build . \
67+ docker build . --no-cache \
6868 --build-arg BASE_IMAGE_TAG=${selected_image_tag} \
6969 --build-arg USE_APT_PROXY=${proxy} \
7070 -t giof71/mpd-alsa:$tag
Original file line number Diff line number Diff line change 22
33Date|Major Changes
44:---|:---
5+ 2023-01-30|Add support for ` AUDIO_BUFFER_SIZE `
562023-01-20|Player state enforced by default
672023-01-17|` HTTPD_OUTPUT_TAGS ` had typo in name
782023-01-17|Add ` PULSE_AUDIO_OUTPUT_SINK ` to PulseAudio output
You can’t perform that action at this time.
0 commit comments