aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Wilson <simonrules@users.noreply.github.com>2020-09-08 13:27:12 -0600
committerGitHub <noreply@github.com>2020-09-08 13:27:12 -0600
commit15b7725e0a415ec34592fa325db63cf58a892a47 (patch)
tree00c30bd9029d9fc5931b9c393b820fad9207a063
parent563ee74ad551d08ea2b5e8dee2ac542c883b9f4b (diff)
parent4b4a8bb3b2d7c64ee0ab5a5aaf5322feb9b06c78 (diff)
Merge pull request #176 from tinyalsa/issue-175
Minor TLV Fixes
-rw-r--r--include/tinyalsa/mixer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tinyalsa/mixer.h b/include/tinyalsa/mixer.h
index 7f0f022..2acdd54 100644
--- a/include/tinyalsa/mixer.h
+++ b/include/tinyalsa/mixer.h
@@ -44,7 +44,7 @@ extern "C" {
#endif
/* TLV header size*/
-#define TLV_HEADER_SIZE (2 * sizeof(unsigned int))
+#define TLV_HEADER_SIZE sizeof(struct snd_ctl_tlv)
struct mixer;