<p>Pau Espin Pedrol has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/13810">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">uhd: smpl_buf: Drop unused avail_smpls uhd:time_spect_t API<br><br>Change-Id: I94061328d46a550d4147121d85baffa29c700c45<br>---<br>M Transceiver52M/device/uhd/smpl_buf.cpp<br>M Transceiver52M/device/uhd/smpl_buf.h<br>2 files changed, 0 insertions(+), 6 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-trx refs/changes/10/13810/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/Transceiver52M/device/uhd/smpl_buf.cpp b/Transceiver52M/device/uhd/smpl_buf.cpp</span><br><span>index f1a6a89..750c394 100644</span><br><span>--- a/Transceiver52M/device/uhd/smpl_buf.cpp</span><br><span>+++ b/Transceiver52M/device/uhd/smpl_buf.cpp</span><br><span>@@ -23,11 +23,6 @@</span><br><span>                return time_end - timestamp;</span><br><span> }</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-ssize_t smpl_buf::avail_smpls(uhd::time_spec_t timespec) const</span><br><span style="color: hsl(0, 100%, 40%);">-{</span><br><span style="color: hsl(0, 100%, 40%);">-    return avail_smpls(timespec.to_ticks(clk_rt));</span><br><span style="color: hsl(0, 100%, 40%);">-}</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span> ssize_t smpl_buf::read(void *buf, size_t len, TIMESTAMP timestamp)</span><br><span> {</span><br><span>   int type_sz = 2 * sizeof(short);</span><br><span>diff --git a/Transceiver52M/device/uhd/smpl_buf.h b/Transceiver52M/device/uhd/smpl_buf.h</span><br><span>index 2c1e435..dca13d0 100644</span><br><span>--- a/Transceiver52M/device/uhd/smpl_buf.h</span><br><span>+++ b/Transceiver52M/device/uhd/smpl_buf.h</span><br><span>@@ -40,7 +40,6 @@</span><br><span>        @return number of available samples or error</span><br><span>     */</span><br><span>   ssize_t avail_smpls(TIMESTAMP timestamp) const;</span><br><span style="color: hsl(0, 100%, 40%);">- ssize_t avail_smpls(uhd::time_spec_t timestamp) const;</span><br><span> </span><br><span>   /** Read and write</span><br><span>       @param buf pointer to buffer</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/13810">change 13810</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/13810"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-trx </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I94061328d46a550d4147121d85baffa29c700c45 </div>
<div style="display:none"> Gerrit-Change-Number: 13810 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Pau Espin Pedrol <pespin@sysmocom.de> </div>