bpa wrote: > The OP example shows "cat" of a file with WAV header. If OP needs a WAV > header the "-a" and "-r" will not provide it. > Don't thing a wav header is required:
Snapcast docs wrote: > > [stream] > # stream URI of the PCM input stream, can be configured multiple times > # Format: > TYPE://host/path?name=NAME[&codec=CODEC][&sampleformat=SAMPLEFORMAT] > stream = pipe:///tmp/snapfifo?name=default > > The sampleformat is a triple of <samplerate>:<bit depth>:<channels>, > e.g. 44100:16:2. > The PCM samples (bit depth) must be encoded signed, little endian in 8, > 16, 24, or 32 bit, where 24 is expected to be encoded in the lower three > bytes of a 32 bit word. > bpa wrote: > > Also I think when output is to a file "-o" the "-a" option is not > required as it is ALSA specific. > man page says: man squeezelite wrote: > -a <params> > Specify parameters used when opening an audio output > device. > When the output is sent to standard output, the value can > be 16, 24 or 32, which denotes the sample size in bits. Little Endian > only. 'Various SW' (https://www.nexus0.net/pub/sw/): Web Interface | TUI | Playlist Editor / Generator | Music Classification | Similar Music | Announce | EventTrigger | Chiptunes | LMSlib2go | ... 'Various HowTos' (https://www.nexus0.net/pub/documents/LMS/): build a self-contained LMS | Bluetooth/ALSA | Control LMS with any device | ... ------------------------------------------------------------------------ Roland0's Profile: http://forums.slimdevices.com/member.php?userid=56808 View this thread: http://forums.slimdevices.com/showthread.php?t=113394 _______________________________________________ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins