Marco bisogna chiarire na cosa se vogliamo che il sistema funziona la saundcard va impostata sempre e comunque
questo é quello che ottengo io con il solo eseguibile:
codice:
filippo@debianplayer:~/squeeze$ ./squeezelite-mc2-amd64 -d all=debug
[12:08:19.680849] stream_init:290 init stream
[12:08:19.680970] stream_init:291 streambuf size: 2097152
[12:08:19.681889] output_init_alsa:817 init output
[12:08:19.681919] output_init_alsa:846 requested alsa_buffer: 40 alsa_period: 4 format: any mmap: 1
[12:08:19.681939] output_init_common:346 outputbuf size: 3528000
[12:08:19.681975] output_init_common:370 idle timeout: 0
[12:08:19.685304] ALSA parse_card:768 cannot find card '0'
[12:08:19.685344] ALSA _snd_config_evaluate:4259 function snd_func_card_driver returned error: No such file or directory
[12:08:19.685364] ALSA snd_func_concat:392 error evaluating strings
[12:08:19.685381] ALSA _snd_config_evaluate:4259 function snd_func_concat returned error: No such file or directory
[12:08:19.685398] ALSA snd_func_refer:1251 error evaluating name
[12:08:19.685414] ALSA _snd_config_evaluate:4259 function snd_func_refer returned error: No such file or directory
[12:08:19.685431] ALSA snd_config_expand:4738 Evaluate error: No such file or directory
[12:08:19.685461] ALSA snd_pcm_open_noupdate:2239 Unknown PCM default
[12:08:19.685482] test_open:294 playback open error: No such file or directory
[12:08:19.685492] output_init_common:381 unable to open output device
quindi dovresti impostare la saundcard nella configurazione...
come dovrei io adesso nel mio caso dirglielo all eseguibile ![occhietto](images/smilies/wink.gif)
allo stesso modo non funziona il "deb" se non gli dico precisamente che carta deve usare
questo invece se dico all eseguibile quale carta deve usare:
codice:
filippo@debianplayer:~/squeeze$ ./squeezelite-mc2-amd64 -o front:CARD=X20,DEV=0 -d all=debug
[12:19:29.106934] stream_init:290 init stream
[12:19:29.107062] stream_init:291 streambuf size: 2097152
[12:19:29.107953] output_init_alsa:817 init output
[12:19:29.107984] output_init_alsa:846 requested alsa_buffer: 40 alsa_period: 4 format: any mmap: 1
[12:19:29.108012] output_init_common:346 outputbuf size: 3528000
[12:19:29.108049] output_init_common:370 idle timeout: 0
[12:19:29.111613] output_init_common:410 supported rates: 384000 352800 192000 176400 96000 88200 48000 44100
[12:19:29.113707] output_init_alsa:862 memory locked
[12:19:29.113853] output_thread:638 open output device: front:CARD=X20,DEV=0
[12:19:29.113856] output_init_alsa:885 set output sched fifo rt: 45
[12:19:29.114401] alsa_open:355 opening device at: 44100
[12:19:29.114756] alsa_open:406 opened device front:CARD=X20,DEV=0 using format: S32_LE sample rate: 44100 mmap: 1
[12:19:29.114789] alsa_open:485 buffer: 40 period: 4 -> buffer size: 1764 period size: 441
[12:19:29.115422] decode_init:129 init decode, include codecs: exclude codecs:
[12:19:29.115493] register_dsd:624 using dsd to decode dsf,dff
[12:19:29.137432] load_ff:621 loaded libavcodec.so.56 (56.26.100)
[12:19:29.137466] load_ff:638 loaded libavformat.so.56 (56.25.101)
[12:19:29.137478] load_ff:652 loaded libavutil.so.54 (54.20.100)
[12:19:29.137534] register_ff:731 using ffmpeg to decode alc
[12:19:29.137548] register_ff:715 using ffmpeg to decode wma,wmap,wmal
[12:19:29.137713] load_faad:610 loaded libfaad.so.2
[12:19:29.137729] register_faad:640 using faad to decode aac
[12:19:29.137854] load_vorbis:300 loaded libvorbisfile.so.3
[12:19:29.137870] register_vorbis:329 using vorbis to decode ogg
[12:19:29.138092] load_flac:258 loaded libFLAC.so.8
[12:19:29.138108] register_flac:286 using flac to decode flc
[12:19:29.138116] register_pcm:392 using pcm to decode aif,pcm
[12:19:29.138228] load_mad:383 loaded libmad.so.0
[12:19:29.138243] register_mad:412 using mad to decode mp3
[12:19:29.138329] discover_server:756 sending discovery
[12:19:29.139492] discover_server:767 got response from: 192.168.178.21:3483
[12:19:29.139520] slimproto:849 connecting to 192.168.178.21:3483
[12:19:29.140250] slimproto:882 connected
[12:19:29.140273] sendHELO:124 mac: 50:e5:49:cc:b4:29
[12:19:29.140283] sendHELO:126 cap: Model=squeezelite,AccuratePlayPoints=1,HasDigitalOut=1,HasPolarityInversion=1,Firmware=v1.8,ModelName=SqueezeLite,MaxSampleRate=384000,dsf,dff,alc,wma,wmap,wmal,aac,ogg,flc,aif,pcm,mp3
[12:19:29.192522] process:494 strm
[12:19:29.192538] process_strm:256 strm command q