File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -1627,14 +1627,20 @@ class FilteredStream : public AudioStream {
1627
1627
1628
1628
// / defines the filter for an individual channel - the first channel is 0. The number of channels must have
1629
1629
// / been defined before we can call this function.
1630
- void setFilter (int channel, Filter<TF> & filter) {
1630
+ void setFilter (int channel, Filter<TF> * filter) {
1631
1631
if (p_converter!=nullptr ){
1632
- p_converter->setFilter (channel, & filter);
1632
+ p_converter->setFilter (channel, filter);
1633
1633
} else {
1634
1634
LOGE (" p_converter is null" );
1635
1635
}
1636
1636
}
1637
1637
1638
+ // / defines the filter for an individual channel - the first channel is 0. The number of channels must have
1639
+ // / been defined before we can call this function.
1640
+ void setFilter (int channel, Filter<TF> &filter) {
1641
+ setFilter (channel, &filter);
1642
+ }
1643
+
1638
1644
protected:
1639
1645
int channels=0 ;
1640
1646
Stream *p_stream;
You can’t perform that action at this time.
0 commit comments