sevi_at wrote: 
> are you sure? I can play with -r-44100,44100- synonymous other
> samplerate however with additional -R -u hMX- opotion resampled
> squeezelite
> 
> 
> only r-44100,44100 option:
> > 
Code:
--------------------
  >   > /usr/bin/squeezelite-armv6hf -r 44100,44100 -d output=info -f 
/tmp/squeeze.log -o squeeze01 -n undefined -m 00:00:00:00:00:01 -z 
  > [12:48:22.855874] output_init_alsa:865 init output
  > [12:48:22.856199] output_init_alsa:895 requested alsa_buffer: 40 
alsa_period: 4 format: any mmap: 1
  > [12:48:22.856384] output_init_common:411 supported rates: 44100 
  > [12:48:22.876497] output_init_alsa:911 memory locked
  > [12:48:23.195058] output_thread:664 open output device: squeeze01
  > [12:48:23.195170] alsa_open:381 opening device at: 44100
  > [12:48:23.201088] alsa_open:432 opened device squeeze01 using format: 
S32_LE sample rate: 44100 mmap: 1
  > [12:48:23.203820] alsa_open:511 buffer: 40 period: 4 -> buffer size: 6144 
period size: 1536
  > [12:48:34.741122] output_flush:424 flush output buffer
  > [12:48:34.762885] output_thread:781 disabling output
  > [12:48:37.942621] output_flush:424 flush output buffer
  > [12:48:37.964523] output_thread:664 open output device: squeeze01
  > [12:48:37.964707] alsa_open:381 opening device at: 44100
  > [12:48:37.977119] alsa_open:432 opened device squeeze01 using format: 
S32_LE sample rate: 44100 mmap: 1
  > [12:48:37.981586] alsa_open:511 buffer: 40 period: 4 -> buffer size: 6144 
period size: 1536
  > [12:48:38.247873] _output_frames:62 start buffer frames: 162432
  > [12:48:38.248027] _output_frames:147 track start sample rate: 32000 
replay_gain: 0
  > [12:48:38.258108] output_thread:664 open output device: squeeze01
  > [12:48:38.258948] alsa_open:381 opening device at: 32000
  > [12:48:38.265533] alsa_open:432 opened device squeeze01 using format: 
S32_LE sample rate: 32000 mmap: 1
  > [12:48:38.268132] alsa_open:511 buffer: 40 period: 4 -> buffer size: 4458 
period size: 1114
  > [12:48:45.123792] output_thread:781 disabling output
--------------------
> > 
> 
> r-44100,44100 and R -u hMX option:
> > 
Code:
--------------------
  >   > /usr/bin/squeezelite-armv6hf -r 44100,44100 -R -u hMX -d output=info -f 
/tmp/squeeze.log -o squeeze01 -n undefined -m 00:00:00:00:00:01 -z 
  > [12:50:05.843793] output_init_alsa:865 init output
  > [12:50:05.844167] output_init_alsa:895 requested alsa_buffer: 40 
alsa_period: 4 format: any mmap: 1
  > [12:50:05.844370] output_init_common:411 supported rates: 44100 
  > [12:50:05.856713] output_init_alsa:911 memory locked
  > [12:50:06.186051] output_thread:664 open output device: squeeze01
  > [12:50:06.186154] alsa_open:381 opening device at: 44100
  > [12:50:06.191529] alsa_open:432 opened device squeeze01 using format: 
S32_LE sample rate: 44100 mmap: 1
  > [12:50:06.193837] alsa_open:511 buffer: 40 period: 4 -> buffer size: 6144 
period size: 1536
  > [12:50:17.779646] output_flush:424 flush output buffer
  > [12:50:17.797142] output_thread:781 disabling output
  > [12:50:22.039078] output_flush:424 flush output buffer
  > [12:50:22.099123] output_thread:664 open output device: squeeze01
  > [12:50:22.099330] alsa_open:381 opening device at: 44100
  > [12:50:22.108631] alsa_open:432 opened device squeeze01 using format: 
S32_LE sample rate: 44100 mmap: 1
  > [12:50:22.110963] alsa_open:511 buffer: 40 period: 4 -> buffer size: 6144 
period size: 1536
  > [12:50:22.277163] _output_frames:62 start buffer frames: 28247
  > [12:50:22.277335] _output_frames:147 track start sample rate: 44100 
replay_gain: 0
  > [12:50:28.129108] output_thread:781 disabling output
--------------------
> > 
> 
> 
> 
> what do you mean by - "transcoded in convert.conf?"-
> what is this file? can one / should one adapt these?
> 
> THX

-r fix samplerates when output device is off on at squeezelite start
time. Only MAX SAMPLERATE Is reported to LMS, that means it will send to
squeezelite ANY rate lesser or equals to it, not gretaher.

-R -u hMX option means you convert ANY sample rate in input to the max
supported, that, with -r 44100,44100 means 44100, in output. 

convert.conf is the file where, normally, server transcoding is defined
for each pair of INPUT and OUTPUT format and optionally for each model
type/single player. Could be replaced by C-3PO plugin.

When system is somehow playing a file with wrong samplerate,  is like
playing a 45 rpm at 33 rmp. This could origin in quite a lot of point in
the chain, one of them is in transcoding pcm,  but sound alerting to me
the first log you posted here: 44100 is played at 32000, is that the
case when is 'too slow'? If so, problem here is the mixer. To solve use
hw prefix.



____________________________________________________________
SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo
reference and DIS Interconnect.
------------------------------------------------------------------------
marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842
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

Reply via email to