<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2017-07-20 17:06 GMT+02:00 Tanu Kaskinen <span dir="ltr"><<a href="mailto:tanuk@iki.fi" target="_blank">tanuk@iki.fi</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">No, I don't think there's currently any code to read the status bits<br>
from the alsa mixer.<br></blockquote></div><br></div><div class="gmail_extra">But in general, if one wants to passthrow unmodified uncompressed PCM data from S/PDIF-in to HDMI, shouldn't he know the source sample rate to correctly open the output device?<br>Do I understand it correct that the only way to implement this scenario with PA is to indirrectly measure the sample rate by comparing the pa_bytes_to_usec() result against the actual time passed?<br>If the source is opened with 48000 sample rate, but produces the data at 44100 rate, will I receive a buffer underflow error on the source?<br><br></div><div class="gmail_extra">Best regards,<br></div><div class="gmail_extra">Denis Shulyaka<br></div></div>