- new data::DecoderStack(dec));
-
- // Make a list of all the probes
- std::vector<const srd_probe*> all_probes;
- for(const GSList *i = dec->probes; i; i = i->next)
- all_probes.push_back((const srd_probe*)i->data);
- for(const GSList *i = dec->opt_probes; i; i = i->next)
- all_probes.push_back((const srd_probe*)i->data);
-
- // Auto select the initial probes
- BOOST_FOREACH(const srd_probe *probe, all_probes)
- BOOST_FOREACH(shared_ptr<view::Signal> s, _signals)
+ new data::DecoderStack(*this, dec));
+
+ // Make a list of all the channels
+ std::vector<const srd_channel*> all_channels;
+ for(const GSList *i = dec->channels; i; i = i->next)
+ all_channels.push_back((const srd_channel*)i->data);
+ for(const GSList *i = dec->opt_channels; i; i = i->next)
+ all_channels.push_back((const srd_channel*)i->data);
+
+ // Auto select the initial channels
+ for (const srd_channel *pdch : all_channels)
+ for (shared_ptr<view::Signal> s : _signals)