Check all ALSA devices for use with Shairport Sync.
8.1K
This image contains a command-line application called sps-alsa-explore to scan for alsa devices that can be used by Shairport Sync.
It does this by attempting to open every alsa device it can find for two-channel interleaved operation at frame rates that are multiples of 44,100 frames per second with linear integer sample formats of 32, 24, 16 and 8 bits.
If successful, it lists any decibel-mapped mixers found on the device for possible use by Shairport Sync.
It also suggests the frame rate and format that would be chosen by Shairport Sync in automatic mode.
$ docker run --device /dev/snd mikebrady/sps-alsa-explore
> Device Full Name: "hw:sndrpihifiberry"
Short Name: "hw:0"
This device seems suitable for use with Shairport Sync.
The following rate and format would be chosen by Shairport Sync in "auto" mode:
Rate Format
44100 S32_LE
> Device Full Name: "hdmi:vc4hdmi0"
Short Name: "hdmi:1"
This device seems suitable for use with Shairport Sync.
The following rate and format would be chosen by Shairport Sync in "auto" mode:
Rate Format
44100 S32_LE
> Device Full Name: "hdmi:vc4hdmi1"
Short Name: "hdmi:2"
This HDMI port is not initialised. To use it:
(1) connect it up to the output device,
(2) turn on the output device and select this device as input,
(3) reboot and try again.
The tool accepts command line options. For example:
$ docker run --device /dev/snd mikebrady/sps-alsa-explore -h
will give you the help message.
Unfortunately, there doesn't seem to be a consistent or logical way to tell which mixer is the best one to use.
Content type
Image
Digest
sha256:1b8f0cc10…
Size
6.3 MB
Last updated
about 1 year ago
docker pull mikebrady/sps-alsa-explore