TerryS wrote: 
> I actually saw this with the last release, but waited to verify that it
> was still an issue on the latest, and it is.
> I am using hdmi for audio playback and it plays perfectly for a period
> of time, then suddenly becomes very noisy with a buzzing or machine-gun
> noise.  The period of time it takes for this to happen is very
> predictable.  When I am playing 44.1khz flac files, it will play for
> just about 50 minutes before it starts the buzzing.  If I play 96kHz
> flac, it plays about 23 minutes.  Notice that 50 x 44k/96k = 23 minutes.
> It is almost like it plays a certain number of samples before it freaks
> out.
> Once it starts buzzing, it will continue buzzing, even if I stop the
> song and start it again.
> A number of things will stop the buzzing and "reset the clock" so that
> it is fine for another 50 or 23 minutes:
> Rebooting the Wandboard.
> Restarting the Squeezelite process.
> Switching the sample rate; switching from playing an album at 96k to one
> at 44.1k or vice-versa.
> Or maybe strangest of all... unplugging and re-plugging the hdmi cable. 
> Or I can just switch inputs on the sound bar to a different input and
> back again.
> 
> This happens when using my Yamaha YSP-3000 sound bar which supports all
> of the audio sample rates.  Just to be sure it wasn't something weird
> with the sound bar, I also tried it direct into my Panasonic HDTV.  It
> doesn't support 96k bit rates, but at 44.1k it acted the same as the
> sound bar.
> 
> I have tried some different ALSA settings (although certainly not all):
> OPTIONS="-n SqueezeliteWAND -m 00:1f:7b:b2:02:85 -a 40::16: -o
> hw:CARD=imxhdmisoc -d all=debug -f
> /var/log/squeezelite/squeezelite.log"
> Nothing seemed to make a difference.
> Since the size of the log file at the time that it starts buzzing is the
> same if playing 96k or 44.1k files (about 194KiB), I also tried turning
> off the logging, but that didn't matter either.  I don't see anything
> wrong in the squeezelite log.  It just seems to merrily play along,
> blissfully unaware that the music isn't right anymore.
> 
> I don't know what to make of this.  Obviously if I am the only one
> interested in playing through hdmi at the moment, don't let this
> interfere with the other work going on.  I have no pressing need to get
> this working right away, I am mainly trying to contribute to the
> testing.
> 
> My setup:
> I am running the wandboard headless.  I plug the hdmi into my sound bar.
> The audio plays through the sound bar, and the login screen is seen on
> the TV.  I shut off the TV to keep from burning in the image, although I
> have left it on and it doesn't affect the problem.
> I am running wireless, although I also tried it through the wired
> ethernet with no change.
> I only play flac files.  96kHz/24 bit or 44.1kHz/16 bit.
> 
> edit:  I am only running squeezelite, not the LMS server or Jivelite on
> the wandboard.
> edit 2:  The sound bar displays the correct sample rate (96k PCM or
> 44.1k PCM) before and after it starts buzzing.
> 
> I've done extensive web searching and don't see anything quite like this
> being reported.  I do see some vaguely similar issues with pulseaudio,
> and have accumulated a number of pages with possible fixes that I will
> look at more this weekend.  Is pulseaudio even active?  I don't see any
> signs of it.
> 
> 
> Terry

The two buffers in squeezelite are much less than 23 minutes worth... 
You could vary their size (-b option) to see if this impacts it though.

44.1k at 8 bytes per sample is around a Giga byte from my simple maths
after 50 minutes?

Does "turning off" the player from a squeezebox control application
help?  This will close the alsa port and reopen it from within
squeezelite.


------------------------------------------------------------------------
Triode's Profile: http://forums.slimdevices.com/member.php?userid=17
View this thread: http://forums.slimdevices.com/showthread.php?t=98190

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to