Hi everyone,
the developer of the RAVENNA Driver supported me and suggested not to use the Ravenna card directly but to use it via ALSA plugin. So I created this configuration file in /etc/asound.conf Code: -------------------- pcm.source_1 { type dmix ipc_key 0x11111 slave { pcm "hw:CARD=RAVENNA" buffer_size 4096 channels 4 rate 48000 format S24_3LE } bindings { 0 0 1 1 } } -------------------- I tested first with "speakertest" and "aplay": Code: -------------------- sudo speaker-test -D plug:source_1 -r 48000 -c 2 -t sine sudo aplay --dump-hw-params -D plug:source_1 -r 48000 -c 2 -f S24_3LE test48.wav -------------------- Both worked without any issues. Than I started squeezelite: Code: -------------------- a@audioserver:~/programs$ sudo ./squeezelite -n AES -d all=debug -o plug:source_1 -------------------- Now the AES Receiver (Audio-DSP) connected without any issues (Had missing packets before) and I could play a track in LMS. However the sound was broken. Too soft, choppy. In the log file I saw lots of strange outputs. I guess there is just a minor config issue. Would appreciate if someone could support here. Thanks a lot. Code: -------------------- a@audioserver:~/programs$ sudo ./squeezelite -n AES -d all=debug -o plug:source_1 [07:00:04.387295] stream_init:454 init stream [07:00:04.387376] stream_init:455 streambuf size: 2097152 [07:00:04.388956] output_init_alsa:936 init output [07:00:04.388974] output_init_alsa:976 requested alsa_buffer: 40 alsa_period: 4 format: any mmap: 1 [07:00:04.388984] output_init_common:360 outputbuf size: 3528000 [07:00:04.389013] output_init_common:384 idle timeout: 0 [07:00:04.389659] ALSA snd_pcm_hw_open:1715 open '/dev/snd/pcmC2D0p' failed (-77) [07:00:04.390609] output_init_common:426 supported rates: 1536000 1411200 768000 705600 384000 352800 192000 176400 96000 88200 48000 44100 32000 24000 22500 16000 12000 11025 8000 [07:00:04.392087] output_init_alsa:1002 memory locked [07:00:04.392117] output_init_alsa:1008 glibc detected using mallopt [07:00:04.392197] output_thread:685 open output device: plug:source_1 [07:00:04.392204] output_init_alsa:1028 set output sched fifo rt: 45 [07:00:04.392517] alsa_open:354 opening device at: 44100 [07:00:04.393180] alsa_open:425 opened device plug:source_1 using format: S32_LE sample rate: 44100 mmap: 1 [07:00:04.393230] alsa_open:516 buffer: 40 period: 4 -> buffer size: 220 period size: 44 [07:00:04.393339] decode_init:153 init decode [07:00:04.393395] register_dsd:908 using dsd to decode dsf,dff [07:00:04.393408] register_alac:549 using alac to decode alc [07:00:04.393416] register_faad:663 using faad to decode aac [07:00:04.393422] register_vorbis:385 using vorbis to decode ogg [07:00:04.393429] register_opus:328 using opus to decode ops [07:00:04.393435] register_flac:336 using flac to decode ogf,flc [07:00:04.393441] register_pcm:483 using pcm to decode aif,pcm [07:00:04.393495] register_mad:423 using mad to decode mp3 [07:00:04.393504] decode_init:194 include codecs: exclude codecs: [07:00:04.393595] discover_server:795 sending discovery [07:00:04.393750] discover_server:806 got response from: 10.7.120.129:3483 [07:00:04.393773] slimproto:898 connecting to 10.7.120.129:3483 [07:00:04.393833] slimproto:937 connected [07:00:04.393845] slimproto:948 local player [07:00:04.393851] sendHELO:148 mac: d0:50:99:af:6d:be [07:00:04.393860] sendHELO:150 cap: CanHTTPS=1,Model=squeezelite,AccuratePlayPoints=1,HasDigitalOut=1,HasPolarityInversion=1,Balance=1,Firmware=v1.9.9-1392,ModelName=SqueezeLite,MaxSampleRate=1536000,dsf,dff,alc,aac,ogg,ops,ogf,flc,aif,pcm,mp3,loc [07:00:04.394271] process:528 strm [07:00:04.394286] process_strm:280 strm command q [07:00:04.394293] decode_flush:236 decode flush [07:00:04.394299] output_flush:439 flush output buffer [07:00:04.394305] sendSTAT:195 STAT: STMf [07:00:04.394341] process:528 strm [07:00:04.394349] process_strm:280 strm command q [07:00:04.394355] decode_flush:236 decode flush [07:00:04.394360] output_flush:439 flush output buffer [07:00:04.394366] sendSTAT:195 STAT: STMf [07:00:04.394392] process:528 setd [07:00:04.394398] sendSETDName:254 set playername: AES [07:00:04.394418] process:528 setd [07:00:04.394465] process:528 aude [07:00:04.394470] process_aude:422 enable spdif: 1 dac: 1 [07:00:04.394519] process:528 audg [07:00:04.394523] process_audg:440 audg gainL: 3840 gainR: 3840 adjust: 1 [07:00:04.394529] set_volume:233 setting internal gain left: 3840 right: 3840 [07:00:04.403386] output_thread:715 XRUN [07:00:04.413493] output_thread:715 XRUN [07:00:04.423604] output_thread:715 XRUN [07:00:04.433750] output_thread:715 XRUN [07:00:04.443925] output_thread:715 XRUN [07:00:04.454079] output_thread:715 XRUN [07:00:04.464264] output_thread:715 XRUN [07:00:04.474451] output_thread:715 XRUN [07:00:04.484639] output_thread:715 XRUN [07:00:04.494823] output_thread:715 XRUN [07:00:04.504991] output_thread:715 XRUN [07:00:04.515175] output_thread:715 XRUN -------------------- ------------------------------------------------------------------------ s25a's Profile: http://forums.slimdevices.com/member.php?userid=65256 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