Thorden wrote: 
> Guess you ment playing a file using mplayer? 

No I mean playing an audio file via LMS through squeezelite as a player
- for example I expect output something tlike the following which shows
the ALSA interaction while trying to play audio.

Code:
--------------------
    
  xxxxx@minitower:/mnt/hddrive/home/ubuntu14.04/Downloads/squeezelite-master$ 
./squeezelite -d all=info -o hw:CARD=Audio,0
  [22:22:42.438845] stream_init:264 init stream
  [22:22:42.440847] output_init_alsa:636 init output
  [22:22:42.440872] output_init_alsa:658 requested alsa_buffer: 40 alsa_period: 
4 format: any mmap: 1
  [22:22:42.447407] output_init_common:394 supported rates: 96000 48000 44100 
32000 
  [22:22:42.447442] output_init_alsa:668 unable to lock memory: Cannot allocate 
memory
  [22:22:42.450015] decode_init:129 init decode
  [22:22:42.450015] output_thread:465 open output device: hw:CARD=Audio,0
  [22:22:42.450325] load_faad:610 loaded libfaad.so.2
  [22:22:42.450538] load_vorbis:295 loaded libvorbisfile.so.3
  [22:22:42.450570] load_flac:258 loaded libFLAC.so.8
  [22:22:42.450579] register_pcm:382 using pcm
  [22:22:42.450686] alsa_open:234 opened device hw:CARD=Audio,0 using format: 
S24_3LE sample rate: 44100 mmap: 1
  [22:22:42.450692] load_mad:383 loaded libmad.so.0
  [22:22:42.450712] alsa_open:313 buffer: 40 period: 4 -> buffer size: 1764 
period size: 441
  [22:22:42.450732] discover_server:904 sending discovery
  [22:22:42.450848] discover_server:915 got response from: 192.168.1.58:3483
  [22:22:42.451178] slimproto:992 connecting to 192.168.1.58:3483
  [22:22:42.451228] slimproto:1024 connected
  [22:22:42.451237] slimproto:1035 local player
  [22:22:42.451242] sendHELO:129 mac: 74:da:38:a6:39:77
  [22:22:42.451247] sendHELO:131 cap: 
Model=squeezelite,ModelName=SqueezeLite,AccuratePlayPoints=1,HasDigitalOut=1,MaxSampleRate=96000,aac,ogg,flc,aif,pcm,mp3,loc
  [22:22:42.453257] decode_flush:188 decode flush
  [22:22:42.453266] output_flush:407 flush output buffer
  [22:23:03.283411] output_thread:568 disabling output
  [22:23:21.546915] decode_flush:188 decode flush
  [22:23:21.546940] output_flush:407 flush output buffer
  [22:23:21.605030] output_thread:465 open output device: hw:CARD=Audio,0
  [22:23:21.605325] alsa_open:234 opened device hw:CARD=Audio,0 using format: 
S24_3LE sample rate: 44100 mmap: 1
  [22:23:21.605368] alsa_open:313 buffer: 40 period: 4 -> buffer size: 1764 
period size: 441
  [22:23:21.772405] codec_open:211 codec open: 'm'
  [22:23:21.772450] stream_sock:352 connecting to 192.168.1.58:9000
  [22:23:21.772495] stream_sock:381 header: GET 
/stream.mp3?player=74:da:38:a6:39:77 HTTP/1.0
  
  
  [22:23:21.778685] stream_thread:150 headers: len: 111
  HTTP/1.1 200 OK
  Server: Logitech Media Server (7.9.2 - TRUNK)
  Connection: close
  Content-Type: audio/mpeg
  
  
  [22:23:21.887571] _check_lame_header:159 gapless: skip: 2257 samples: 9475620 
delay: 1105 padding: 779
  [22:23:21.887676] mad_decode:242 setting track_start
  [22:23:21.889097] _output_frames:59 start buffer frames: 25391
  [22:23:21.889118] _output_frames:140 track start sample rate: 44100 
replay_gain: 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