Skip to content

Commit 832b7a3

Browse files
committed
ADC: revert samples order modification
Signed-off-by: Andrei Popa <[email protected]>
1 parent 38cde26 commit 832b7a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gr-util/src/time_sink_f_impl.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,12 +202,12 @@ int time_sink_f_impl::work(int noutput_items, gr_vector_const_void_star &input_i
202202
for(int i = 0; i < m_nconnections; i++) {
203203
for(int j = 0; j < noutput_items * m_vlen; j++) {
204204
if(m_buffers[i].size() >= m_size) {
205-
m_buffers[i].pop_front();
205+
m_buffers[i].pop_back();
206206
}
207207

208208
const float *in;
209209
in = (const float *)input_items[i];
210-
m_buffers[i].push_back(in[j]);
210+
m_buffers[i].push_front(in[j]);
211211
}
212212
}
213213

0 commit comments

Comments
 (0)