aboutsummaryrefslogtreecommitdiffstats
path: root/src/filter/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/filter/plugins')
-rw-r--r--src/filter/plugins/RouteFilterPlugin.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/filter/plugins/RouteFilterPlugin.cxx b/src/filter/plugins/RouteFilterPlugin.cxx
index 38c4ec43b..d4bb0be9c 100644
--- a/src/filter/plugins/RouteFilterPlugin.cxx
+++ b/src/filter/plugins/RouteFilterPlugin.cxx
@@ -142,11 +142,11 @@ RouteFilter::Configure(const config_param &param, Error &error) {
// A cowardly default, just passthrough stereo
const char *routes = param.GetBlockValue("routes", "0>0, 1>1");
while (true) {
- routes = strchug_fast(routes);
+ routes = StripLeft(routes);
char *endptr;
const unsigned source = strtoul(routes, &endptr, 10);
- endptr = strchug_fast(endptr);
+ endptr = StripLeft(endptr);
if (endptr == routes || *endptr != '>') {
error.Set(config_domain,
"Malformed 'routes' specification");
@@ -163,10 +163,10 @@ RouteFilter::Configure(const config_param &param, Error &error) {
if (source >= min_input_channels)
min_input_channels = source + 1;
- routes = strchug_fast(endptr + 1);
+ routes = StripLeft(endptr + 1);
unsigned dest = strtoul(routes, &endptr, 10);
- endptr = strchug_fast(endptr);
+ endptr = StripLeft(endptr);
if (endptr == routes) {
error.Set(config_domain,
"Malformed 'routes' specification");