Jeff07971 wrote: 
> After reading your answer my mind went back to why the cpu was double
> for the 96 Kbps stream anyway I just tried a quick test, the results
> dont really tell me much to me but they may to you ! 
> 
> 1) Listen live 320Kbps
> 2) Listen live (Non UK) 96Kbps 
> 
> Log is here
> 
> > 
Code:
--------------------
  >   > 
  > /usr/local/bin/squeezelite -n Lounge -o hw:CARD=sndrpihifiberry -a 80:4::1: 
-s 10.44.4.2 -d output=debug -f /var/log/pcp_squeezelite.log -v -G 13:H 
  > .
  > .
  > .
  > [14:15:17.404682] alsa_open:338 opening device at: 44100
  > [14:15:17.407864] alsa_open:389 opened device hw:CARD=sndrpihifiberry using 
format: S32_LE sample rate: 44100 mmap: 1
  > [14:15:17.408043] alsa_open:468 buffer: 80 period: 4 -> buffer size: 3528 
period size: 882
  > .
  > .
  > .
  > [14:15:40.945696] alsa_open:338 opening device at: 44100
  > [14:15:40.948309] alsa_open:389 opened device hw:CARD=sndrpihifiberry using 
format: S32_LE sample rate: 44100 mmap: 1
  > [14:15:40.948448] alsa_open:468 buffer: 80 period: 4 -> buffer size: 3528 
period size: 882
  > .
  > .
  > .
  > [14:15:42.678177] _output_frames:147 track start sample rate: 48000 
replay_gain: 0
  > [14:15:42.688264] output_thread:621 open output device: 
hw:CARD=sndrpihifiberry
  > [14:15:42.689410] alsa_open:338 opening device at: 48000
  > [14:15:42.691448] alsa_open:389 opened device hw:CARD=sndrpihifiberry using 
format: S32_LE sample rate: 48000 mmap: 1
  > [14:15:42.691596] alsa_open:468 buffer: 80 period: 4 -> buffer size: 3840 
period size: 960
  > 
--------------------
> > 

I don't understand why there is a 44100 but at least a 44800 shows up
and the other parameters are consistent.

Looking the "alsa_open:468 buffer: 80 period: 4 -> buffer size: 3840
period size: 960" line.
The  "buffer size" and "period size" vary depending whether it is 44100
or 48000 - again as expected as they are not command line parameters.

The command line parameters of "-a 80:4::1:" maps as follows

Code:
--------------------
    
  alsa_open:389 opened device hw:CARD=sndrpihifiberry using format: S32_LE 
sample rate: 48000 mmap: 1
  alsa_open:468 buffer: 80 period: 4 -> buffer size: 3840 period size: 960
  
--------------------


------------------------------------------------------------------------
bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=106755

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

Reply via email to