From 51ece2c240833bdd98258c8ddb6478ed47565a97 Mon Sep 17 00:00:00 2001 From: Jonathan Aillet Date: Wed, 13 Jun 2018 11:08:36 +0200 Subject: Replace verb prefix separator When adding a stream , instead of using a ':' to separate prefix and verb, use a '#'. Change-Id: I2cbb467a85c52dddd4714cfe644dcdf3a35df5d3 Signed-off-by: Jonathan Aillet --- plugins/alsa/alsa-api-streams.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/alsa/alsa-api-streams.c b/plugins/alsa/alsa-api-streams.c index 5853414..a7e2677 100644 --- a/plugins/alsa/alsa-api-streams.c +++ b/plugins/alsa/alsa-api-streams.c @@ -409,11 +409,11 @@ STATIC AlsaStreamAudioT * AttachOneStream(SoftMixerT *mixer, const char *uid, co // Prefix verb with uid|prefix if (prefix) { if (stream->verb) { - if (asprintf((char**) &stream->verb, "%s:%s", prefix, stream->verb) == -1) + if (asprintf((char**) &stream->verb, "%s#%s", prefix, stream->verb) == -1) goto OnErrorExit; } else { - if (asprintf((char**) &stream->verb, "%s:%s", prefix, stream->uid) == -1) + if (asprintf((char**) &stream->verb, "%s#%s", prefix, stream->uid) == -1) goto OnErrorExit; } } else { -- cgit 1.2.3-korg