gahabana wrote: 
> hi ,
> 
> In both cases i started playing 192khz file, fast forward towards the
> end, then either play 1ms empty file (or let squeezelite version with
> pause inserts do it) and then play the 44.1khz file.
> 
> please find attached log files of bother scenario
> 1st one - regular squeezelite with inserted file in between Norah Jones
> (192khz) and Macy Gray (44.1khz) which has 1 millisecond of silence.
> 2nd one - modified squeezelite that inserts 40 msecs of silence/pause.
> 
> I starred at the log files and couldn't figure out why it does not do
> what is expect (at least not well). My wild guess it probably has to do
> with opening/closing alsa device rather then what is being sent ?
> 
> Thank you in advance for making time to look at it !!!
> 
> Gaha

There's something strange going on here with the device being opened and
then reopened straight after:

Code:
--------------------
    
  [09:55:07.723098] process_audg:377 audg gainL: 65536 gainR: 65536 adjust: 1
  [09:55:07.753198] output_thread:667 open output device: hw:CARD=B20,DEV=0
  [09:55:07.753383] alsa_open:294 opened device hw:CARD=B20,DEV=0 using format: 
S32_LE sample rate: 44100 mmap: 1
  [09:55:07.753402] alsa_open:359 buffer: 40 period: 4 -> buffer size: 1764 
period size: 441
  [09:55:07.755216] ALSA snd_pcm_hw_start:588 SNDRV_PCM_IOCTL_START failed (-32)
  [09:55:08.785437] write_cb:106 setting track_start
  [09:55:08.796101] output_thread:887 track start sample rate: 192000 
replay_gain: 52480
  [09:55:08.796140] output_thread:667 open output device: hw:CARD=B20,DEV=0
  [09:55:08.798108] alsa_open:294 opened device hw:CARD=B20,DEV=0 using format: 
S32_LE sample rate: 192000 mmap: 1
  [09:55:08.798131] alsa_open:359 buffer: 40 period: 4 -> buffer size: 7680 
period size: 1920
  
--------------------


Do you see this in both cases.  Also could you try without running at -p
99 and this is really not recommended (should be lower than 99 for other
tasks to run)


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