> 
> 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
--------------------
> > 
> 

in both cases I play a soundfile with samplerate 32000. the sound output
sounds correct in both. but sometimes I would say about every 50
start-play of squeezelite is the sound output too slow.
either -/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 -
as well as -/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 -
in the log, however, is the same that means from the log I can not read
whether the sound output is okay or too slow.

when i use
-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 --
is always in log 44100 (see above) also in the sound card

Code:
--------------------
    
  root@penner:~# cat /proc/asound/card1/pcm0p/sub0/hw_params
  access: MMAP_INTERLEAVED
  format: S16_LE
  subformat: STD
  channels: 2
  rate: 44100 (44100/1)
  period_size: 1536
  The sound output has a different sample rate because everything sounds too 
slow I mean the sound output has a different samplerate because I can hear this 
-> just way too slow.
  
  
  I have the problem only with squeezelite and never with MPD with the same 
attitudes in asound.conf
  
  
  maybe someone would still have an idea or the same phenomenon.
  
  THX


------------------------------------------------------------------------
sevi_at's Profile: http://forums.slimdevices.com/member.php?userid=63076
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