Using the latest version of SL, I have a Bitrate: 320kbps CBR Sample
Rate: 48.0 kHz mp3 file that plays too slow. 
If I sync that song with an SB3, it buffers and says it plays, but the
is no audio out. I can control SL from the SB3 remote, so synching
actually seems to work apart for audio.
Other formats I tried do not show the issue.

I have also noticed that 24/88 and 24/96 sound quite bad at the
beginning of songs, with SL playing alone. I've looked at a trace and
got quite a few "mmap_commit error" along with the garbled sound. Same
song sounds ok when synched with SB3 and sox kicks in. 

SL launched as: /usr/local/bin/squeezelite-i386 -n Prades -b 65536:65536
-o plughw:CARD=DAC,DEV=0 -a 10:4::1  -z 172.17.10.11
same as: /usr/local/bin/squeezelite-i386 -n Prades -b 65536:65536  -o
iec958:CARD=DAC,DEV=0 -a 10:4::1  -z 172.17.10.11
Squeezelite v0.9beta11, Copyright 2012, 2013 Adrian Smith. See -t for
license terms

Trace for 16/48 mp3, SL playing alone, too slow:
Code:
--------------------
    /usr/local/bin/squeezelite-i386 -n Prades -b 65536:65536  -o 
iec958:CARD=DAC,DEV=0 -a 10:4::1 -d all=debug 172.17.10.11
  [15:00:10.370915] output_init:1265 init output
  [15:00:10.372302] output_init:1268 outputbuf size: 67108864
  [15:00:10.373032] output_init:1298 requested buffer_time: 10000 period_count: 
4 format: any mmap: 1
  [15:00:10.415110] output_init:1322 output: iec958:CARD=DAC,DEV=0 maxrate: 
96000
  [15:00:10.416075] output_thread:562 open output device: iec958:CARD=DAC,DEV=0
  [15:00:10.420112] alsa_open:257 opened device iec958:CARD=DAC,DEV=0 using 
format: S24_3LE sample rate: 44100 mmap: 1
  [15:00:10.420516] alsa_open:305 buffer time: 9977 period count: 4 buffer 
size: 440 period size: 110
  [15:00:10.421078] stream_init:264 init stream
  [15:00:10.421734] stream_init:265 streambuf size: 67108864
  [15:00:10.422773] decode_init:101 init decode
  [15:00:10.424596] load_faad:557 loaded libfaad.so.2
  [15:00:10.427698] load_vorbis:227 loaded libvorbisfile.so.3
  [15:00:10.430967] load_flac:196 loaded libFLAC.so.8
  [15:00:10.431577] register_pcm:191 using pcm
  [15:00:10.432914] load_mad:292 loaded libmad.so.0
  [15:00:10.433681] slimproto:669 connecting to 172.17.10.11:3483
  [15:00:10.436692] slimproto:691 connected
  [15:00:10.437449] slimproto:707 local player
  [15:00:10.438249] sendHELO:109 mac: 00:0d:b9:29:b1:45
  [15:00:10.438738] sendHELO:111 cap: 
Model=squeezelite,ModelName=SqueezeLite,AccuratePlayPoints=1,HasDigitalOut=1,MaxSampleRate=96000,aac,ogg,flc,aif,pcm,mp3,loc
  [15:00:10.449947] sendSETDName:210 set playername: Prades
  [15:00:10.451853] process:406 unhandled setd
  [15:00:10.453283] process:406 unhandled setd
  [15:00:10.454053] process:402 aude
  [15:00:10.455157] process_aude:333 enable spdif: 1 dac: 1
  [15:00:10.456159] process:402 audg
  [15:00:10.457275] process_audg:350 audg gainL: 65536 gainR: 65536 adjust: 1
  [15:00:14.005687] process:402 strm
  [15:00:14.005818] process_strm:219 strm command t
  [15:00:14.005881] sendSTAT:151 STAT: STMt
  [15:00:14.232158] process:402 strm
  [15:00:14.232278] process_strm:219 strm command q
  [15:00:14.232337] output_flush:1347 flush output buffer
  [15:00:14.303829] process:402 audg
  [15:00:14.303947] process_audg:350 audg gainL: 65536 gainR: 65536 adjust: 1
  [15:00:14.308392] process:402 strm
  [15:00:14.308509] process_strm:219 strm command s
  [15:00:14.308864] process_strm:279 strm s autostart: 1 transition period: 10 
transition type: 0
  [15:00:14.309287] sendSTAT:151 STAT: STMf
  [15:00:14.309611] codec_open:147 codec open: 'm'
  [15:00:14.310398] stream_sock:347 connecting to 172.17.10.11:9000
  [15:00:14.311078] stream_sock:376 header: GET 
/stream.mp3?player=00:0d:b9:29:b1:45 HTTP/1.0
  
  
  [15:00:14.311181] sendSTAT:151 STAT: STMc
  [15:00:14.311251] process_strm:302 set fade mode: 0
  [15:00:14.313216] process:402 audg
  [15:00:14.313328] process_audg:350 audg gainL: 65536 gainR: 65536 adjust: 1
  [15:00:14.403810] stream_thread:150 headers: len: 107
  HTTP/1.0 200 OK
  Server: Squeezebox Server (7.6.2 - 33593)
  Connection: close
  Content-Type: audio/mpeg
  
  
  [15:00:14.405408] sendRESP:182 RESP
  [15:00:14.580680] mad_decode:176 mad_frame_decode error: bad main_data_begin 
pointer
  [15:00:14.582831] mad_decode:189 setting track_start
  [15:00:14.583252] mad_decode:207 gapless: skipping 529 frames at start
  [15:00:14.594625] output_thread:748 track start sample rate: 44100 
replay_gain: 0
  [15:00:14.627679] sendSTAT:151 STAT: STMs
  [15:00:14.628139] sendSTAT:151 STAT: STMt
  [15:00:15.563897] stream_thread:223 end of stream
  [15:00:15.568591] sendDSCO:170 DSCO: 0
  [15:00:16.573958] sendSTAT:151 STAT: STMt
  [15:00:17.577849] sendSTAT:151 STAT: STMt
  [15:00:18.584952] sendSTAT:151 STAT: STMt
  [15:00:19.006918] process:402 strm
  [15:00:19.007035] process_strm:219 strm command t
  [15:00:19.007569] sendSTAT:151 STAT: STMt
  ^C[15:00:19.735336] slimproto_stop:740 slimproto stop
  [15:00:19.736769] sendSTAT:151 STAT: STMt
  [15:00:19.838955] decode_close:133 close decode
  [15:00:19.851205] stream_close:291 close stream
  [15:00:19.893047] output_close:1359 close output
--------------------


------------------------------------------------------------------------
epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711
View this thread: http://forums.slimdevices.com/showthread.php?t=97046

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

Reply via email to