aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTaylor Holberton <taylor.holberton@protonmail.com>2020-09-03 22:49:53 -0500
committerTaylor Holberton <taylor.holberton@protonmail.com>2020-09-03 22:49:53 -0500
commit4b4a8bb3b2d7c64ee0ab5a5aaf5322feb9b06c78 (patch)
tree00c30bd9029d9fc5931b9c393b820fad9207a063 /include
parent563ee74ad551d08ea2b5e8dee2ac542c883b9f4b (diff)
Using struct for TLV size
Diffstat (limited to 'include')
-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;