Thorden wrote: 
> 
> AUDIO: 44100 Hz, 2 ch, s16le, 0.0 kbit/0.00% (ratio: 0->176400)
> Trying preferred audio driver 'alsa', options '[none]'
> alsa-init: requested format: 44100 Hz, 2 channels, 9
> alsa-init: using ALSA 1.0.25
> alsa-init: using device hw:0
> alsa-init: pcm opened in blocking mode
> alsa-init: got buffersize=88200
> alsa-init: got period size 1298
> alsa: 44100 Hz/2 channels/4 bpf/88200 bytes buffer/Signed 16 bit Little
> Endian
> AO: [alsa] 44100Hz 2ch s16le (2 bytes per sample)
> 

Comparing the ALSA paramters used by mplayer with the one which seemed
to work but no audio in Squeezelite 
> 
> root@Akela2:/# LD_LIBRARY_PATH=/volume1/@appstore/AudioStation/lib
> /volume1/@appstore/SqueezeCenter/Cache/InstalledPlugins/Plugins/LocalPlayer/Bin/squeezelite-x86-64
> -d output=debug -o front:CARD=Streamer,DEV=0
> [23:23:59.694770] output_init_alsa:640 init output
> [23:23:59.695009] output_init_alsa:663 requested alsa_buffer: 40
> alsa_period: 4 format: any mmap: 1
> [23:23:59.695055] output_init_common:342 outputbuf size: 3528000
> [23:23:59.700222] output_init_common:402 supported rates: 48000 44100
> 32000
> [23:24:00.158805] output_init_alsa:675 memory locked
> [23:24:00.159075] output_thread:467 open output device:
> front:CARD=Streamer,DEV=0
> [23:24:00.159085] output_init_alsa:698 set output sched fifo rt: 45
> [23:24:00.159594] alsa_open:185 opening device at: 44100
> [23:24:00.160174] alsa_open:236 opened device front:CARD=Streamer,DEV=0
> using format: S16_LE sample rate: 44100 mmap: 1
> [23:24:00.160226] alsa_open:315 buffer: 40 period: 4 -> buffer size:
> 1764 period size: 441
> [23:24:00.458479] output_flush:415 flush output buffer
> ^C[23:24:30.613492] output_close_alsa:703 close output
> 

I think device is similar but a bit different using "front" vs "hw". 
Also  ALSA buffer and period sizes are different.  

Can you try squeezelite using Alsa device hw:0,0   - if that fails then
need to figure out how to change the alsa parameters used by
squeezelite.

Code:
--------------------
    
  LD_LIBRARY_PATH=/volume1/@appstore/AudioStation/lib 
/volume1/@appstore/SqueezeCenter/Cache/InstalledPlugins/Plugins/LocalPlayer/Bin/squeezelite-x86-64
 -d output=debug -o hw:0,0
  
--------------------


------------------------------------------------------------------------
bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=97766

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to