JackOfAll wrote: 
> Thanks Bernd and Charles. I've been out all day so still haven't started
> looking at this myself..... Maybe tomorrow....
> 
> Thoughts.... Some progress. I'm thinking that the EDID resolution is a
> bit hit and miss, so not surprised that a kernel video= is required. I'm
> also thinking that the same may apply to audio. There is also some
> detection code there, trying to get the supported sample rates from the
> device. Without wishing to cast any doubt in the direction of the codes
> author, I don't think this code has seen much usage, if any, by anyone
> other than the author, so I'm not going to be surprised if there are
> issues. (To put it politely, I doubt there has been any wide testing on
> a variety of devices. I don't even think Robert Nelson has included it
> in any of his WB patch sets.) 
> 
> I think that we need to start by enabling debugging in squeezelite, that
> will show the sample rates that the hdmi audio device claims to support.
> I think it might be good, to disable MMAP from squeezelite ALSA params,
> and set format to S24_3LE..... 
> 
> Charles, have you had any debugging enabled for squeezelite while trying
> to play audio over the hdmi device?
> 
> EDIT: Charles, you might also try -r 48000 -u X, so 44k1 is re-sampled
> to 48k. Does that play at the correct speed?

First attempt is with sample rate forced to 48kHz, by using r 48000 -u
X, per your suggestion. Music played, but too fast again. 

A second attempt at 44.1kHz is also logged below.

Code:
--------------------
    
  [21:52:51.303018] output_flush:407 flush output buffer
  [21:52:51.660772] _output_frames:59 start buffer frames: 8029
  [21:52:51.661014] _output_frames:140 track start sample rate: 48000 
replay_gain: 0
  [21:52:51.671170] output_thread:465 open output device: default:CARD=DWHDMI
  [21:52:51.674171] alsa_open:234 opened device default:CARD=DWHDMI using 
format: S32_LE sample rate: 48000 mmap: 0
  [21:52:51.674997] alsa_open:313 buffer: 40 period: 4 -> buffer size: 1920 
period size: 480
  [21:55:24.026542] output_close_alsa:698 close output
  [21:55:24.148493] output_init_alsa:636 init output
  [21:55:24.149263] output_init_alsa:658 requested alsa_buffer: 40 alsa_period: 
4 format: 24_3LE mmap: 0
  [21:55:24.149383] output_init_common:334 outputbuf size: 3528000
  [21:55:24.173861] output_init_common:394 supported rates: 384000 352800 
192000 176400 96000 88200 48000 44100 32000 24000 22500 16000 12000 11025 8000 
  [21:55:24.264457] output_init_alsa:670 memory locked
  [21:55:24.265592] output_thread:465 open output device: default:CARD=DWHDMI
  [21:55:24.265688] output_init_alsa:693 set output sched fifo rt: 45
  [21:55:24.268752] alsa_open:234 opened device default:CARD=DWHDMI using 
format: S32_LE sample rate: 44100 mmap: 0
  [21:55:24.269576] alsa_open:313 buffer: 40 period: 4 -> buffer size: 1764 
period size: 441
  [21:55:24.311222] output_flush:407 flush output buffer
  [21:55:24.313106] output_flush:407 flush output buffer
  [21:55:38.211258] output_flush:407 flush output buffer
  [21:55:38.595033] _output_frames:59 start buffer frames: 4096
  [21:55:38.595242] _output_frames:140 track start sample rate: 44100 
replay_gain: 0
  
--------------------


I hope this helps.



----------------------
"Dreamer, easy in the chair that really fits you..."
------------------------------------------------------------------------
dsdreamer's Profile: http://forums.slimdevices.com/member.php?userid=12588
View this thread: http://forums.slimdevices.com/showthread.php?t=99395

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to