aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/alsa
diff options
context:
space:
mode:
authorJonathan Aillet <jonathan.aillet@iot.bzh>2018-06-13 11:08:36 +0200
committerJonathan Aillet <jonathan.aillet@iot.bzh>2018-06-13 11:15:17 +0200
commit51ece2c240833bdd98258c8ddb6478ed47565a97 (patch)
tree64fdd1fb9fa4f5e60461a3dfb633ccb9777f4a71 /plugins/alsa
parent02124becdcda965757d84bdb180bbef2e0e6baaa (diff)
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 <jonathan.aillet@iot.bzh>
Diffstat (limited to 'plugins/alsa')
-rw-r--r--plugins/alsa/alsa-api-streams.c4
1 files 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 {