Hello.
I am running LMS on a Windows PC to listen to music on a Raspberry Pi
(raspbian) running Squeezelite with a Hifiberry DAC2 HD hat. This
combination has worked well for me with the exception being hearing some
pops and crackles when the DAC changes sample rates. That's not the
issue I'm trying to fix though.
What I need help with is getting the Squeezelite or the DAC? to honor
the sample rate I set with wavin2cmd. I am trying to stream
SiriusXM/Spotify playing on my Windows PC to the Pi. When I set
wavin2cmd.exe with "-s 44100 -b 16" the sound works although I had to
turn the volume down on my computer to get rid some distortion I was
hearing. But when I set wavin2cmd.exe with "-s 96000 -b 16" the music
plays in slow-motion on the Pi. I checked the alsa settings on the Pi
when this happens and see it shows the DAC sample rate still set at
44100, it's not changing to 96000 as I would expect.
cat /proc/asound/card0/pcm0p/sub0/hw_params
access: MMAP_INTERLEAVED
format: S32_LE
subformat: STD
channels: 2
rate: 44100 (44100/1)
period_size: 441
buffer_size: 1764
Has anyone here run into this sort of issue that can help me? I'd also
like help understanding WaneInput more. I don't understand the
difference between pcm, flc, and mp3. I've only been able to get
WaveInput to stream to the Pi when I use the pcm settings. Below is my
custom-convert.conf file.
wavin pcm * *
# R
[wavin2cmd] -w -o $FILE$ -s 44100 -b 16
Reading older posts I manually captured output and was able to play it
just fine with ffplay on the Windows PC using the commands below.
wavin2cmd.exe -w wave -s 96000 -b 16 -o wavin:0 > audiocapture.wav
ffplay -f s16le -ar 96000 -ac 2 audiocapture.wav
------------------------------------------------------------------------
hafnpin's Profile: http://forums.slimdevices.com/member.php?userid=72096
View this thread: http://forums.slimdevices.com/showthread.php?t=115144
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins