soundcheck wrote:
> Hi Ralph.
>
> A small issue (gcc 6.3.1):
>
> My fix:
>
> >
Code:
--------------------
> >
> diff -Naur output.c.orig output.c.new
> --- output.c.orig 2017-04-03 14:44:04.002246768 +0200
> +++ output.c.new 2017-04-03 14:48:45.712937723 +0200
> @@ -152,7 +152,7 @@
> IF_DSD(
> output.dop = output.next_dop;
> )
> - if (!output.fade == FADE_ACTIVE ||
!output.fade_mode == FADE_CROSSFADE) {
> + if (! (output.fade == FADE_ACTIVE) || !
(output.fade_mode == FADE_CROSSFADE)) {
> output.current_replay_gain =
output.next_replay_gain;
> }
> output.track_start = NULL;
>
>
--------------------
> >
>
>
> Would be nice to introduce above.
>
> Thx
> SC
I'd be happy to make the change in git but have you confirmed that
crossfade still works as expected?
I have updated output.c with your change last year and after many
reports of crossfade no longer working, I reverted it.
See
https://github.com/ralph-irving/squeezelite/commit/34c61e454247e13044512b5079f18090dc287ecd
Ralphy
*1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezebox%20client%20builds¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=97046
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix