Hy,
I start squeezelite with this option on my ThinkerBoard  -> ARMBIAN 5.31
stable Ubuntu 16.04.3 LTS 4.4.73-rockchip

/usr/bin/squeezelite-armv6hf -Z 44100 -W -c flac,pcm,mp3,ogg,aac -b
2048:4096 -a 60:16::0 -r 44100,44100  -d output=info -f /tmp/squeeze.log
-p 97 -o squeeze01 -n test -m 00:00:00:00:00:01 -z

Squeezelite v1.8.4-720
binary was not compiled by me.

this is my output:



Code:
--------------------
    [14:02:58.696457] alsa_open:432 opened device squeeze01 using format: 
S32_LE sample rate: 44100 mmap: 0
  [14:02:58.697941] alsa_open:511 buffer: 60 period: 16 -> buffer size: 12288 
period size: 1536
  [14:02:58.832436] _output_frames:62 start buffer frames: 55343
  [14:02:58.832570] _output_frames:147 track start sample rate: 44100 
replay_gain: 0
  [14:03:01.005855] ALSA snd_pcm_dmix_open:1022 unable to open slave
  [14:03:01.793444] _output_frames:147 track start sample rate: 44100 
replay_gain: 0
  [14:03:03.575735] output_flush:424 flush output buffer
  [14:03:03.588612] output_flush:424 flush output buffer
  [14:03:03.813404] _output_frames:62 start buffer frames: 61103
  [14:03:03.813539] _output_frames:147 track start sample rate: 44100 
replay_gain: 0
  [14:03:05.276509] _output_frames:147 track start sample rate: 44100 
replay_gain: 0
  [14:03:06.007401] ALSA snd_pcm_dmix_open:1022 unable to open slave
  [14:03:08.616983] output_flush:424 flush output buffer
  [14:03:08.620419] output_thread:781 disabling output
  [14:03:08.633761] output_flush:424 flush output buffer
  [14:03:08.725445] output_thread:664 open output device: squeeze01
  [14:03:08.725628] alsa_open:381 opening device at: 44100
  [14:03:08.736409] alsa_open:432 opened device squeeze01 using format: S32_LE 
sample rate: 44100 mmap: 0
  [14:03:08.737888] alsa_open:511 buffer: 60 period: 16 -> buffer size: 12288 
period size: 1536
  [14:03:08.834354] _output_frames:62 start buffer frames: 55343
  [14:03:08.834485] _output_frames:147 track start sample rate: 44100 
replay_gain: 0
  [14:03:11.008763] ALSA snd_pcm_dmix_open:1022 unable to open slave
  [14:03:11.690327] _output_frames:147 track start sample rate: 44100 
replay_gain: 0
  [14:03:13.586424] output_flush:424 flush output buffer
  [14:03:13.593423] output_flush:424 flush output buffer
  [14:03:13.745325] _output_frames:62 start buffer frames: 53039
  [14:03:13.745461] _output_frames:147 track start sample rate: 44100 
replay_gain: 0
  [14:03:15.207575] _output_frames:147 track start sample rate: 22050 
replay_gain: 0
  [14:03:15.207754] output_thread:664 open output device: squeeze01
  [14:03:15.208840] alsa_open:381 opening device at: 22050
  [14:03:15.219581] alsa_open:432 opened device squeeze01 using format: S32_LE 
sample rate: 22050 mmap: 0
  [14:03:15.221200] alsa_open:511 buffer: 60 period: 16 -> buffer size: 6144 
period size: 767
  [14:03:16.009665] ALSA snd_pcm_dmix_open:1022 unable to open slave
  [14:03:18.602216] output_thread:781 disabling output
  [14:03:18.625109] output_flush:424 flush output buffer
  [14:03:18.631095] output_flush:424 flush output buffer
  [14:03:18.703036] output_thread:664 open output device: squeeze01
  [14:03:18.703166] alsa_open:381 opening device at: 22050
  [14:03:18.709716] alsa_open:432 opened device squeeze01 using format: S32_LE 
sample rate: 22050 mmap: 0
  [14:03:18.711349] alsa_open:511 buffer: 60 period: 16 -> buffer size: 6144 
period size: 767
  [14:03:18.816223] _output_frames:62 start buffer frames: 55343
  [14:03:18.816353] _output_frames:147 track start sample rate: 44100 
replay_gain: 0
  [14:03:18.826403] output_thread:664 open output device: squeeze01
  [14:03:18.827249] alsa_open:381 opening device at: 44100
  [14:03:18.833424] alsa_open:432 opened device squeeze01 using format: S32_LE 
sample rate: 44100 mmap: 0
  [14:03:18.834833] alsa_open:511 buffer: 60 period: 16 -> buffer size: 12288 
period size: 1536
  [14:03:21.010882] ALSA snd_pcm_dmix_open:1022 unable to open slave
  [14:03:22.278242] _output_frames:147 track start sample rate: 44100 
replay_gain: 0
  [14:03:23.596942] output_flush:424 flush output buffer
  [14:03:23.603925] output_flush:424 flush output buffer
  [14:03:23.776215] _output_frames:62 start buffer frames: 62255
  [14:03:23.776336] _output_frames:147 track start sample rate: 44100 
replay_gain: 0
  [14:03:25.239337] _output_frames:147 track start sample rate: 44100 
replay_gain: 0
  
--------------------



audio works fine .... even with this message:


Code:
--------------------
    
  [14:03:16.009665] ALSA snd_pcm_dmix_open:1022 unable to open slave
  
--------------------

I do not know what that means. because I can hear a clear sound.

but not anymore if the sample rate is not 44100

Code:
--------------------
    
  [14:03:15.208840] alsa_open:381 opening device at: 22050
  [14:03:15.219581] alsa_open:432 opened device squeeze01 using format: S32_LE 
sample rate: 22050 mmap: 0
  [14:03:15.221200] alsa_open:511 buffer: 60 period: 16 -> buffer size: 6144 
period size: 767
  [14:03:16.009665] ALSA snd_pcm_dmix_open:1022 unable to open slave
  
--------------------


I WOULD LIKE SQUEEZELITE TO ALWAYS PLAY WITH 44100. HOWEVER, SOMETIMES
THIS ONE COMES WITH A VERY DIFFERENT SAMPLE RATE IN THIS EXAMPLE 22050

IS THIS POSSIBLE TO PLAY EVERY TIMES 44100? DOES ANYONE HAVE A SOLUTION?

Thank you so much!


------------------------------------------------------------------------
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
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to