marcoc1712 wrote: 
> Are they the ones I've sent to you? 
> 
> If so, I think they just work fine in any linuix I tried, wich one
> fails?

Yes, the original patch came from
https://raw.githubusercontent.com/marcoc1712/squeezelite-R2/Release/Daphile%20patches/07-native-dsd-support.patch
however it no longer applies cleanly.

The modified patch file which worked for soundcheck (thanks for
confirming it works okay) does not compile on debian 7 as libasound is
too old and doesn't include all the DSD formats in the headers.

Code:
--------------------
    $ dpkg -l libasound2
  Desired=Unknown/Install/Remove/Purge/Hold
  | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
  |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
  ||/ Name                     Version           Architecture      Description
  
+++-========================-=================-=================-=====================================================
  ii  libasound2:i386          1.0.25-4          i386              shared 
library for ALSA applications
  
--------------------



Code:
--------------------
    cc -Wall -fPIC -O2 -DRESAMPLE -DVISEXPORT -DIR -DGPIO -DDSD  output_alsa.c 
-c -o output_alsa.o
  output_alsa.c: In function 'alsa_open':
  output_alsa.c:400:17: error: 'SND_PCM_FORMAT_DSD_U8' undeclared (first use in 
this function)
  output_alsa.c:400:17: note: each undeclared identifier is reported only once 
for each function it appears in
  output_alsa.c:402:17: error: 'SND_PCM_FORMAT_DSD_U16_LE' undeclared (first 
use in this function)
  output_alsa.c:404:17: error: 'SND_PCM_FORMAT_DSD_U16_BE' undeclared (first 
use in this function)
  output_alsa.c:406:17: error: 'SND_PCM_FORMAT_DSD_U32_LE' undeclared (first 
use in this function)
  output_alsa.c:408:17: error: 'SND_PCM_FORMAT_DSD_U32_BE' undeclared (first 
use in this function)
  make: *** [Makefile:87: output_alsa.o] Error 1
--------------------



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&currency_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
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to