erland / squeezelite

Automatically exported from code.google.com/p/squeezelite
Other
0 stars 0 forks source link

Static on one channel after playing for a long while (hours or days) #62

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Play music, local or Spotify (could take days or a few hours)

What is the expected output? What do you see instead?
Expected: No static is expected, no matter how long music has been playing.
What is seen: On one channel (random between each run) there is suddenly static 
mixed in with the music. The static stops when the music is stopped, but starts 
as soon as the music starts. Changing song, switching between Spotify and local 
music has no effect. If squeezelite is restarted by:
service squeezelite restart
then the static dissappears.

What version of the product are you using? On what operating system?
Running Squeezeplug v7.02, Squeezelite v1.5

Please provide any additional information below.
An external DAC is used, Behringer UCA202. This is the /etc/default/squeezelite 
file in short:
SLOPTIONS="-n Kitchen -f /var/log/squeezelite.log -o plughw:CARD=CODEC -a :::0"
SBSHOST=""
SLMAC="raspberry-mac-here"

Not a single word in the log, unfortunately.

Original issue reported on code.google.com by adrian.s...@gmail.com on 27 Feb 2014 at 8:00

GoogleCodeExporter commented 8 years ago
try disabling mmap using -a :::0

this is likely to be a device driver problem but you may find that changing 
alsa parameters helps

Original comment by trio...@btinternet.com on 27 Feb 2014 at 8:12

GoogleCodeExporter commented 8 years ago
Thanks for the quick reply.
"-a :::0" is already in my squeezelite config file, which I posted as 
additional information. Is it correct the way it is?

Could you give me a hint as to what I could change in the alsa parameters? And 
where? /etc/asound.conf? 

Thanks!

Original comment by adrian.s...@gmail.com on 27 Feb 2014 at 8:25

GoogleCodeExporter commented 8 years ago
So I just setup a olimex board with a USB DAC and have this exact same problem. 
Seems to happen randomly after some time, one of the channels gets a very 
static noise along with the music, while the other channel is unaffected. Tried 
the -a :::0 option without any luck. Restarting squeezelite fixes the problem, 
but also using the power off/on for the player in the squeezeserver interface 
also fixes the problem?

I'm using -o hw:CARD=DAC to select the device.

Original comment by jesse.da...@gmail.com on 27 May 2015 at 3:36