diff options
author | Taylor Holberton <taylorcholberton@gmail.com> | 2020-04-24 13:30:46 -0400 |
---|---|---|
committer | Taylor Holberton <taylorcholberton@gmail.com> | 2020-04-24 13:30:46 -0400 |
commit | b61b96003574c50bbeb8708718d3ef9f3ed08ddd (patch) | |
tree | 2b6b1313fcbf0e8683c7e54d8ef0fb4b142df366 | |
parent | 6b105acd80fa144d3b68aa7f5524da202df0d159 (diff) | |
parent | f1cad9331f0b291b4f2b91e81766f4862071c40c (diff) |
Merge branch 'master' of github.com:tinyalsa/tinyalsa
-rw-r--r-- | include/tinyalsa/plugin.h | 1 | ||||
-rw-r--r-- | src/mixer_plugin.c | 5 |
2 files changed, 1 insertions, 5 deletions
diff --git a/include/tinyalsa/plugin.h b/include/tinyalsa/plugin.h index fed50be..91d862a 100644 --- a/include/tinyalsa/plugin.h +++ b/include/tinyalsa/plugin.h @@ -32,6 +32,7 @@ #include <stdint.h> #include <stdlib.h> +#include <sys/types.h> #include <sound/asound.h> diff --git a/src/mixer_plugin.c b/src/mixer_plugin.c index 3437171..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; - memcpy(card_info->id, "card_id", sizeof(card_info->id)); - memcpy(card_info->driver, "mymixer-so-name", sizeof(card_info->driver)); - memcpy(card_info->name, "card-name", sizeof(card_info->name)); - memcpy(card_info->longname, "card-name", sizeof(card_info->longname)); - memcpy(card_info->mixername, "mixer-name", sizeof(card_info->mixername)); return 0; } |