Ciao, Paolo.
«Se tu hai una mela, e io ho una mela, e ce le scambiamo, allora tu ed io abbiamo sempre una mela per uno. Ma se tu hai un'idea, ed io ho un'idea, e ce le scambiamo, allora abbiamo entrambi due idee.»
Ciao, Marco.
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction."
— E. F. Schumacher (mis-attributed to A. Einstein)
________________________________________________________________________________
Autore della patch R2 per Squeezelite e del plugin C-3PO. note libere
Logitech media Server 7.9 > miniPc + squeezelite-R2 / SB+ > "Lu Scalmentu" NOS R2R DAC by TubeOne/ AudioResearch DAC 1-20 >
Klimo Merlino Gold TPS > DIS Interconnect > Kent Gold > Reference > Monitor Audio Studio 20 SE
Ciao, Marco.
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction."
— E. F. Schumacher (mis-attributed to A. Einstein)
________________________________________________________________________________
Autore della patch R2 per Squeezelite e del plugin C-3PO. note libere
Logitech media Server 7.9 > miniPc + squeezelite-R2 / SB+ > "Lu Scalmentu" NOS R2R DAC by TubeOne/ AudioResearch DAC 1-20 >
Klimo Merlino Gold TPS > DIS Interconnect > Kent Gold > Reference > Monitor Audio Studio 20 SE
Ciao, Paolo.
«Se tu hai una mela, e io ho una mela, e ce le scambiamo, allora tu ed io abbiamo sempre una mela per uno. Ma se tu hai un'idea, ed io ho un'idea, e ce le scambiamo, allora abbiamo entrambi due idee.»
è l'ultimo aggiornamento che hai fatto alla tua Repo marco che ha fatto comparire l'errore che è comparso a quel tipo a cui ralph ha chiuso la issue e che ora è apparso pure a me.
Lo riporto integralmente:
codice:output_alsa.c: In function ‘alsa_open’: output_alsa.c:422:17: error: ‘SND_PCM_FORMAT_DSD_U16_BE’ undeclared (first use in this function) alsa.format = SND_PCM_FORMAT_DSD_U16_BE; break; ^ output_alsa.c:422:17: note: each undeclared identifier is reported only once for each function it appears in output_alsa.c:424:17: error: ‘SND_PCM_FORMAT_DSD_U32_LE’ undeclared (first use in this function) alsa.format = SND_PCM_FORMAT_DSD_U32_LE; break; ^ output_alsa.c:426:17: error: ‘SND_PCM_FORMAT_DSD_U32_BE’ undeclared (first use in this function) alsa.format = SND_PCM_FORMAT_DSD_U32_BE; break; ^ output_alsa.c: In function ‘output_thread’: output_alsa.c:701:12: error: ‘struct <anonymous>’ has no member named ‘nat_dsd_mode_xhack’ if (alsa.nat_dsd_mode_xhack && pcmp && alsa.rate == output.current_sample_rate) ^ output_alsa.c:707:4: error: expected expression before ‘if’ if (alsa.reopen) { ^ output_alsa.c: In function ‘output_init_alsa’: output_alsa.c:896:6: error: ‘struct <anonymous>’ has no member named ‘nat_dsd_mode_xhack’ alsa.nat_dsd_mode_xhack = ((alsa_flags & 2) != 0); ^ Makefile:82: recipe for target 'output_alsa.o' failed make: *** [output_alsa.o] Error 1
Direi di no, quelle definizioni sono state introdotte dalle patch di Daphile iniziali, quelle che ho introdotto domenica non cambiano minimamente quella sezione, guarda la storia in Git.
Forse è qualcosa di collegato, ma non quello.
EDIT: Infattoi era un "+" rimasto nel codice dopo aver apportato la patch manualmente, ma ben sopra, probabilmente lo riportava anche a te prima di quelli che hai postato.
Adesso a me si compila anche in Ubuntu, riprova se vuoi.
Ultima modifica di marcoc1712 : 28-02-2017 a 01:09
Ciao, Marco.
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction."
— E. F. Schumacher (mis-attributed to A. Einstein)
________________________________________________________________________________
Autore della patch R2 per Squeezelite e del plugin C-3PO. note libere
Logitech media Server 7.9 > miniPc + squeezelite-R2 / SB+ > "Lu Scalmentu" NOS R2R DAC by TubeOne/ AudioResearch DAC 1-20 >
Klimo Merlino Gold TPS > DIS Interconnect > Kent Gold > Reference > Monitor Audio Studio 20 SE
solito problema del c...0. I maledetti fine riga di winzozz.
Vai così:codice:paolo@spmc /tmp/squeezelite-R2 $ file * Bin: directory Build instructions.txt: ASCII text ChangeLog.txt: ASCII text, with CRLF line terminators Daphile patches: directory LICENSE.txt: ASCII text, with CRLF line terminators Makefile: makefile script, ASCII text Makefile.debian-i386: ASCII text Makefile.debian-x86-64: ASCII text Makefile.freebsd: makefile script, ASCII text Makefile.gentoo: makefile script, ASCII text, with CRLF line terminators Makefile.minimal: ASCII text Makefile.osx: makefile script, ASCII text Makefile.osx-i386: makefile script, ASCII text Makefile.osx-ppc: makefile script, ASCII text Makefile.osx-ppc64: makefile script, ASCII text Makefile.osx-x86_64: makefile script, ASCII text, with very long lines Makefile.pa: makefile script, ASCII text Makefile.resample: ASCII text Makefile.rpi: makefile script, ASCII text, with CRLF line terminators README.md: ASCII text buffer.c: C source, ASCII text decode.c: C source, ASCII text dop.c: C source, ASCII text, with CRLF line terminators dsd.c: C source, ASCII text, with CRLF line terminators dsd2pcm: directory faad.c: C source, ASCII text, with CRLF line terminators ffmpeg.c: C source, ASCII text, with CRLF line terminators flac.c: C source, ASCII text, with CRLF line terminators include: directory include-osx: directory ir.c: C source, ASCII text lib_osx: directory mad.c: C source, ASCII text, with CRLF line terminators main.c: C source, ASCII text, with CRLF line terminators mpg.c: C source, ASCII text, with CRLF line terminators nbproject: directory output.c: C source, ASCII text, with CRLF line terminators output_alsa.c: C source, ASCII text, with CRLF line terminators output_pa.c: C source, ASCII text, with CRLF line terminators output_pack.c: C source, ASCII text, with CRLF line terminators output_stdout.c: C source, ASCII text, with CRLF line terminators output_vis.c: C source, ASCII text patches: directory pcm.c: C source, ASCII text, with CRLF line terminators process.c: C source, ASCII text resample.c: C source, ASCII text scripts: directory slimproto.c: C source, ASCII text, with CRLF line terminators slimproto.h: C source, ASCII text squeezelite-mc2.sdf: data squeezelite-mc2.sln: UTF-8 Unicode (with BOM) text, with CRLF line terminators squeezelite-mc2.suo: Composite Document File V2 Document, No summary info squeezelite.h: C source, ASCII text, with CRLF line terminators squeezelite.ncb: MSVC program database ver \004 squeezelite.sdf: data squeezelite.vcxproj: XML 1.0 document, UTF-8 Unicode (with BOM) text, with CRLF line terminators squeezelite.vcxproj.filters: XML 1.0 document, UTF-8 Unicode (with BOM) text, with CRLF line terminators squeezelite.vcxproj.user: XML 1.0 document, UTF-8 Unicode (with BOM) text, with CRLF line terminators stream.c: C source, ASCII text utils.c: C source, ASCII text vorbis.c: C source, ASCII text, with CRLF line terminators
codice:find . -name \*.h -o -name \*.c -o -name Make\* -exec dos2unix {} \;
Ciao, Paolo.
«Se tu hai una mela, e io ho una mela, e ce le scambiamo, allora tu ed io abbiamo sempre una mela per uno. Ma se tu hai un'idea, ed io ho un'idea, e ce le scambiamo, allora abbiamo entrambi due idee.»
ma dove? fossero quelli non avresti compilato nemmeno la versione precedente, però è strano... git è multipiattaforma e risolve i fine riga ove serve.
Comunque era qualcosa di molto più banale... un bug introdotto da me che avevo commentato male una riga e compilato solo in WIN, quindi escludendo ALSA.
Ciao, Marco.
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction."
— E. F. Schumacher (mis-attributed to A. Einstein)
________________________________________________________________________________
Autore della patch R2 per Squeezelite e del plugin C-3PO. note libere
Logitech media Server 7.9 > miniPc + squeezelite-R2 / SB+ > "Lu Scalmentu" NOS R2R DAC by TubeOne/ AudioResearch DAC 1-20 >
Klimo Merlino Gold TPS > DIS Interconnect > Kent Gold > Reference > Monitor Audio Studio 20 SE
Non è cambiato nulla .. sicuro di aver aggiornato le modifiche su github? L'ultima modifica di quel file risale a 3 gg fa
P.S. Con squeezelite-osx appena ricompilato senza intoppi C-3PO non se la sente di fare un upsampling in PCM. Funziona tutto senza errori se non per il fatto che nonostante abbia impostato un upsampling pcm non lo fa
Proverò a riguardare domattinacodice:[17-02-28 00:47:29.9409] Slim::Control::Request::notify (2060) Error: Failed notify: Died at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/C3PO/Transcoder.pm line 1219. [17-02-28 00:48:15.1511] Slim::Utils::Misc::msg (1244) Warning: [00:48:15.1508] Use of uninitialized value $outCodec in numeric gt (>) at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/C3PO/Shared.pm line 191. [17-02-28 00:48:15.1515] Slim::Utils::Misc::msg (1244) Warning: [00:48:15.1513] Use of uninitialized value in concatenation (.) or string at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/C3PO/Transcoder.pm line 1172. [17-02-28 00:48:15.1518] Slim::Utils::Misc::msg (1244) Warning: [00:48:15.1516] Use of uninitialized value in string eq at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/C3PO/Transcoder.pm line 1175. [17-02-28 00:48:15.1521] Slim::Utils::Misc::msg (1244) Warning: [00:48:15.1519] Use of uninitialized value in concatenation (.) or string at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/C3PO/Transcoder.pm line 122. [17-02-28 00:48:15.1523] Slim::Utils::Misc::msg (1244) Warning: [00:48:15.1522] Use of uninitialized value in concatenation (.) or string at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/C3PO/Transcoder.pm line 1172. [17-02-28 00:48:15.1524] Slim::Utils::Misc::msg (1244) Warning: [00:48:15.1523] Use of uninitialized value in string eq at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/C3PO/Transcoder.pm line 1175. [17-02-28 00:48:15.1526] Slim::Utils::Misc::msg (1244) Warning: [00:48:15.1525] Use of uninitialized value in string eq at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/C3PO/Transcoder.pm line 128. [17-02-28 00:48:15.1532] Slim::Utils::Misc::msg (1244) Warning: [00:48:15.1531] [Tue Feb 28 00:48:15 2017] TRACE: getOutputCodec : $VAR1 = ' at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/C3PO/Logger.pm line 60. Plugins::C3PO::Logger::traceMessage("getOutputCodec : ") called at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/C3PO/Transcoder.pm line 1218 Plugins::C3PO::Transcoder::getOutputCodec(HASH(0x8e40820)) called at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/C3PO/Transcoder.pm line 181 Plugins::C3PO::Transcoder::_useC3PO(HASH(0x8e40820)) called at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/C3PO/Transcoder.pm line 65 Plugins::C3PO::Transcoder::initTranscoder(HASH(0x8e40820), HASH(0x729fc48)) called at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/C3PO/Plugin.pm line 1327 Plugins::C3PO::Plugin::_setupTranscoder(Slim::Player::SqueezePlay=ARRAY(0xa17d348)) called at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/C3PO/Plugin.pm line 545 Plugins::C3PO::Plugin::_clientCalback(Slim::Player::SqueezePlay=ARRAY(0xa17d348), "reconnect") called at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/C3PO/Plugin.pm line 212 Plugins::C3PO::Plugin::clientReconnectCallback(Slim::Control::Request=HASH(0xb610cf8)) called at /usr/share/perl5/Slim/Control/Request.pm line 2058 eval {...} called at /usr/share/perl5/Slim/Control/Request.pm line 2058 Slim::Control::Request::notify(Slim::Control::Request=HASH(0xb610cf8)) called at /usr/share/perl5/Slim/Control/Request.pm line 859 Slim::Control::Request::checkNotifications() called at /usr/sbin/squeezeboxserver line 709 main::idle() called at /usr/sbin/squeezeboxserver line 678 main::main() called at /usr/sbin/squeezeboxserver line 1214 '; [17-02-28 00:48:15.1534] Slim::Control::Request::notify (2060) Error: Failed notify: Died at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/C3PO/Transcoder.pm line 1219.
Ultima modifica di SimoneFil : 28-02-2017 a 02:09
Ci sono attualmente 7 utenti che stanno visualizzando questa discussione. (0 utenti e 7 ospiti)