Commit 35f2f508 authored by Gautier Pelloux-Prayer's avatar Gautier Pelloux-Prayer
Browse files

commands.c: disable files usage if we are using "soundcard use <index>"

parent da9c8393
......@@ -1261,6 +1261,8 @@ static int lpc_cmd_soundcard(LinphoneCore *lc, char *args)
return 1;
index=atoi(arg2); /* FIXME: handle not-a-number */
......@@ -1276,6 +1278,7 @@ static int lpc_cmd_soundcard(LinphoneCore *lc, char *args)
linphonec_out("No such sound device\n");
return 1;
if (strcmp(arg1, "capture")==0)
const char *devname=linphone_core_get_capture_device(lc);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment