Further to my post above, is there anything in this log (decode
debugging enabled) that might indicate why audio is being resampled to
44.1K?

Here I am playing a 96K FLAC to the Lumin (MaxSampleRate=192000)

Simon.


Code:
--------------------
    
  Starting Squeeze2upnp: 
/Users/roon/Library/Caches/Squeezebox/InstalledPlugins/Plugins/UPnPBridge/Bin/squeeze2upnp-osx-multi-static
 -Z -f /Users/roon/Library/Logs/Squeezebox/upnpbridge.log -d decode=debug -x 
/Users/roon/Library/Application Support/Squeezebox/upnpbridge.xml
  [17:03:06.207296] main:1756 Starting squeeze2upnp version: v1.40.10 (Sep 27 
2020 @ 15:19:33)
  [17:03:06.209488] register_alac:550 using alac to decode alc
  [17:03:06.209536] register_mad:433 using mad to decode mp3
  [17:03:06.209557] register_faad:647 using faad to decode aac
  [17:03:06.209576] register_vorbis:346 using vorbis to decode ogg
  [17:03:06.209595] register_pcm:339 using pcm
  [17:03:06.209614] register_flac:313 using flac to decode flc
  [17:03:06.209630] register_opus:286 using opus to decode ops
  [17:03:06.209648] register_m4a_thru:307 using mp4 to aac (ADTS)
  [17:03:06.209669] register_flac_thru:247 using flac
  [17:03:06.209686] register_thru:106 using thru
  [17:03:06.209704] register_soxr:394 using soxr for resampling
  [17:03:06.209721] Start:1519 Binding to 192.168.178.130:49153
  [17:03:07.252110] AddMRDevice:1405 [0x1093de900]: adding renderer (LUMIN 
T2:LUMIN)
  [17:03:07.256011] decode_thread_init:168 [0x109358340]: init decode
  [17:03:07.256142] resample_init:345 [0x109358340]: resampling sync recipe: 
0x00, flags: 0x00, scale: 0.89, precision: 0.0, passband_end: 0.00000, 
stopband_begin: 0.00000, phase_response: -1.0
  [17:03:07.256676] slimproto:858 squeezelite [0x109358340] <=> player 
[0x1093de900]
  [17:03:07.256717] slimproto:859 [0x109358340] connecting to 
192.168.178.130:3483
  [17:03:07.256903] slimproto:889 [0x109358340] connected
  [17:03:07.256960] sendHELO:135 [0x109358340] cap: 
CanHTTPS=1,Model=squeezelite,ModelName=UPnPBridge,AccuratePlayPoints=0,HasDigitalOut=1,MaxSampleRate=192000,aac,ogg,ops,ogf,flc,alc,wav,aif,pcm,mp3
  [17:03:07.258115] decode_flush:208 [0x109358340]: decode flush
  [17:03:07.258818] MasterHandler:1036 [0x1093de900]: subscribe success
  [17:03:07.259633] _ProcessVolume:738 [0x1093de900]: UPnP Volume local change 
100:-1 (master)
  [17:03:15.572243] AddMRDevice:1405 [0x1093e0b30]: adding renderer 
(MiniStreamer [LINK])
  [17:03:15.575124] decode_thread_init:168 [0x10935c668]: init decode
  [17:03:15.575246] resample_init:345 [0x10935c668]: resampling sync recipe: 
0x00, flags: 0x00, scale: 0.89, precision: 0.0, passband_end: 0.00000, 
stopband_begin: 0.00000, phase_response: -1.0
  [17:03:15.575622] slimproto:858 squeezelite [0x10935c668] <=> player 
[0x1093e0b30]
  [17:03:15.575676] slimproto:859 [0x10935c668] connecting to 
192.168.178.130:3483
  [17:03:15.575851] slimproto:889 [0x10935c668] connected
  [17:03:15.575891] sendHELO:135 [0x10935c668] cap: 
CanHTTPS=1,Model=squeezelite,ModelName=UPnPBridge,AccuratePlayPoints=0,HasDigitalOut=1,MaxSampleRate=48000,aac,ogg,ops,ogf,flc,alc,wav,aif,pcm,mp3
  [17:03:15.576691] MasterHandler:1036 [0x1093e0b30]: subscribe success
  [17:03:15.576845] decode_flush:208 [0x10935c668]: decode flush
  [17:03:15.577644] _ProcessVolume:738 [0x1093e0b30]: UPnP Volume local change 
50:-1 (master)
  [17:03:20.007169] slimproto_run:573 [0x109358340] Closing CLI socket 11
  [17:03:30.005240] slimproto_run:573 [0x10935c668] Closing CLI socket 17
  [17:03:58.586786] decode_flush:208 [0x109358340]: decode flush
  [17:03:58.586843] AVTStop:217 [0x1093de900]: uPNP stop (cookie 0x0)
  [17:03:58.597944] process_strm:238 [0x109358340] strm command s
  [17:03:58.598001] process_strm:307 [0x109358340], strm s autostart: 1 
transition period: 10 transition type: 0 codec: f
  [17:03:58.598031] sendSTAT:169 [0x109358340]: STAT:[STMf] msplayed 0
  [17:03:58.612986] codec_open:237 codec open: 'f'
  [17:03:58.613158] bind_socket:397 cannot bind socket 17
  [17:03:58.613220] output_start:82 [0x109358340]: start thread 0
  [17:03:58.613293] sq_callback:339 [0x1093de900]:
        artist:
        album:
        title:Streaming from LMS
        genre:
        duration:0.000
        size:0
        cover:
        offset:0
  [17:03:58.613330] sq_callback:375 [0x1093de900]: set current URI (s:0) 
http://192.168.178.130:49154/bridge-1.flac
  [17:03:58.613423] AVTSetURI:91 [0x1093de900]: uPNP setURI 
http://192.168.178.130:49154/bridge-1.flac (cookie 0x1)
  [17:03:58.613802] process_start:1202 [0x109358340]: codec:f, ch:0, s:0, r:0
  [17:03:58.614006] sendSTAT:169 [0x109358340]: STAT:[STMc] msplayed 0
  [17:03:58.681365] AVTSetPlayMode:167 [0x1093de900]: uPNP set play mode 
(cookie 0x2)
  [17:03:58.681505] AVTPlay:151 [0x1093de900]: uPNP play (cookie 0x2)
  [17:03:58.681564] CtrlSetVolume:245 [0x1093de900]: uPNP volume 100 (cookie 
0x2)
  [17:03:58.774402] write_cb:127 [0x109358340]: setting track_start
  [17:03:58.774470] resample_newstream:204 [0x109358340]: resampling from 96000 
-> 44100
  [17:03:58.774487] resample_newstream:229 [0x109358340]: resampling with 
soxr_quality_spec_t[precision: 0.0, passband_end: 0.922601, stopband_begin: 
1.000000, phase_response: 50.0, flags: 0x80000001], soxr_io_spec_t[scale: 0.89]
  [17:03:58.774531] process_newstream:121 [0x109358340]: processing: active
  [17:03:58.774547] process_newstream:142 [0x109358340]: creating process buf 
in frames: 25600
  [17:03:58.774561] process_newstream:149 [0x109358340]: creating process buf 
out frames: 12936
  [17:04:00.094115] output_http_thread:141 [0x109358340]: got HTTP connection 19
  [17:04:00.094308] _output_new_stream:457 [0x109358340]: FLAC-0 encoding 
r:44100 s:16
  [17:04:00.094341] output_http_thread:170 [0x109358340]: drain is 2621440 
(waited 1481)
  [17:04:00.095731] handle_http:468 [0x109358340]: received GET /bridge-1.flac 
HTTP/1.1
  [17:04:00.095773] handle_http:471 [0x109358340]: HTTP headers
  Range: bytes=0-
  User-Agent: lumin
  Host: 192.168.178.130:49154
  Accept: */*
  Accept-Charset: UTF-8,*;q=0.8
  
  [17:04:00.095848] handle_http:563 [0x109358340]: responding:
  HTTP/1.1 200 OK
  Server: squeezebox-bridge
  Connection: close
  Content-Type: audio/flac
  Content-Length: 2048000000
  
  
  [17:04:00.095886] gain_and_fade:938 [0x109358340]: track start rate:44100 
gain:0
  [17:04:02.377403] _SyncNotifState:671 LUMIN T2:LUMIN: uPNP playing
  [17:04:02.377932] sendSTAT:169 [0x109358340]: STAT:[STMs] msplayed 0
  [17:04:10.007629] slimproto_run:573 [0x109358340] Closing CLI socket 11
  [17:04:48.833572] process_strm:238 [0x109358340] strm command p
  [17:04:48.833666] process_strm:268 [0x109358340] pause (interval:0)
  [17:04:48.833701] AVTBasic:201 [0x1093de900]: uPNP Pause (cookie 0x82)
  [17:04:48.833886] sendSTAT:169 [0x109358340]: STAT:[STMp] msplayed 47000
  [17:04:49.463515] _SyncNotifState:679 LUMIN T2:LUMIN: uPNP pause
  
--------------------


------------------------------------------------------------------------
simoh's Profile: http://forums.slimdevices.com/member.php?userid=56305
View this thread: http://forums.slimdevices.com/showthread.php?t=103728

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to