Skip to content

Commit

Permalink
[Enhancement] Support -o also on pulseaudio mode #243 (#244)
Browse files Browse the repository at this point in the history
  • Loading branch information
GioF71 committed Dec 17, 2023
1 parent 2ea3622 commit 2bef633
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ PUID||User ID which will be used to run squeezelite in user mode, defaults to `1
PGID||Group ID which will be used to run squeezelite in user mode, defaults to `1000`
AUDIO_GID||This group id is mandatory with alsa output when running in user mode. It must be set to the group id associated to the `audio` group. See more [here](https://github.com/GioF71/squeezelite-docker/blob/main/doc/example-alsa-user-mode.md).
PRESET||You can now choose to set variables using predefined presets. Presets can currently tune the values of `SQUEEZELITE_AUDIO_DEVICE`, `SQUEEZELITE_RATES`, `SQUEEZELITE_UPSAMPLING`, `SQUEEZELITE_CODECS` and `SQUEEZELITE_EXCLUDE_CODECS` for you. See the [Available presets](#available-presets) table for reference. Presets can be combined (the separator must be a comma `,`), but keep in mind that the first preset setting a variable has the priority: once set by a preset, a variable cannot be overwritten by subsequent presets.
SQUEEZELITE_AUDIO_DEVICE|-o|The audio device. Common examples: `hw:CARD=x20,DEV=0` or `hw:CARD=DAC,DEV=0` for usb dac based on XMOS. If left empty, the default alsa device is used.
SQUEEZELITE_AUDIO_DEVICE|-o|The audio device. Common examples for alsa mode: `hw:CARD=x20,DEV=0` or `hw:CARD=DAC,DEV=0` for usb dac based on XMOS. If left empty, the default device is used.
SQUEEZELITE_MIXER_DEVICE|-O|Specify mixer device, defaults to `output device` (`SQUEEZELITE_AUDIO_DEVICE`)
SQUEEZELITE_PARAMS|-a|Please refer to the squeezelite's man page for `-a`.
SQUEEZELITE_CODECS|-c|Please refer to the squeezelite's man page for `-c`.
Expand Down
1 change: 1 addition & 0 deletions app/bin/run-squeezelite-pulse.sh
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ cmdline-player-name
cmdline-model-name
cmdline-timeout
cmdline-mac-address
cmdline-audio-device
cmdline-params
cmdline-codecs

Expand Down
1 change: 1 addition & 0 deletions doc/release.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Older build might be dropped in order to save space on docker-hub and incur in l

Date|Type|Description
:---|:---|:---
2023-12-17|Improvement|Support output device `-o` also with PulseAudio (see [#243](https://github.com/GioF71/squeezelite-docker/issues/243))
2023-09-23|Improvement|Add presets (Topping D10s/D10 Balanced), updated Yulong D200 (see [#239](https://github.com/GioF71/squeezelite-docker/issues/239))
2023-09-01|Maintenance|Upsampling settings in quotes, see [#236](https://github.com/GioF71/squeezelite-docker/issues/236)
2023-09-01|Maintenance|Rename GitHub workflow, see [#234](https://github.com/GioF71/squeezelite-docker/issues/234)
Expand Down

0 comments on commit 2bef633

Please sign in to comment.