resource-asm: fix forgotten defines.
authorIsmo Puustinen <ismo.puustinen@intel.com>
Wed, 28 Nov 2012 08:49:06 +0000 (10:49 +0200)
committerKrisztian Litkey <krisztian.litkey@intel.com>
Thu, 8 Jan 2015 16:37:09 +0000 (18:37 +0200)
src/plugins/plugin-resource-asm.c

index b9f4725..64b77c0 100644 (file)
@@ -111,6 +111,8 @@ enum {
     ARG_ASM_BRIDGE,
     ARG_ASM_ZONE,
     ARG_ASM_TPORT_ADDRESS,
+    ARG_ASM_PLAYBACK_RESOURCE,
+    ARG_ASM_RECORDING_RESOURCE,
 };
 
 static int tport_setup(const char *address, asm_data_t *ctx);
@@ -895,7 +897,7 @@ static int asm_init(mrp_plugin_t *plugin)
     }
 
     ctx->ctx = plugin->ctx;
-    ctx->address = args[ARG_TPORT_ADDRESS].str;
+    ctx->address = args[ARG_ASM_TPORT_ADDRESS].str;
     ctx->binary = args[ARG_ASM_BRIDGE].str;
     ctx->zone = args[ARG_ASM_ZONE].str;