aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMinecrell <minecrell@minecrell.net>2020-04-24 19:13:20 +0200
committerMinecrell <minecrell@minecrell.net>2020-04-24 19:13:20 +0200
commit5c86afcb0233d51d09325146a9f3000631824748 (patch)
treeb3a89fcdcad140ad0ca923463b2f4fa4c0000edb
parent3f469bfc2c2b891d13a5236baa9b5ef1028f2389 (diff)
tinyalsa: mixer_plugin: remove dummy strings for sound card
There does not really seem to be an usage for these dummy string, so let's remove them.
-rw-r--r--src/mixer_plugin.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mixer_plugin.c b/src/mixer_plugin.c
index 5bea42c..389003e 100644
--- a/src/mixer_plugin.c
+++ b/src/mixer_plugin.c
@@ -330,11 +330,6 @@ static int mixer_plug_get_card_info(struct mixer_plug_data *plug_data,
/*TODO: Fill card_info here from snd-card-def */
memset(card_info, 0, sizeof(*card_info));
card_info->card = plug_data->card;
- strncpy((char*)card_info->id, "card_id", sizeof(card_info->id));
- strncpy((char*)card_info->driver, "mymixer-so-name", sizeof(card_info->driver));
- strncpy((char*)card_info->name, "card-name", sizeof(card_info->name));
- strncpy((char*)card_info->longname, "card-name", sizeof(card_info->longname));
- strncpy((char*)card_info->mixername, "mixer-name", sizeof(card_info->mixername));
return 0;
}