aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTaylor Holberton <taylorcholberton@gmail.com>2017-01-10 08:04:04 -0500
committerGitHub <noreply@github.com>2017-01-10 08:04:04 -0500
commit3e9a64211e76529aae4ff08e7a661bcffdee02a5 (patch)
treec3a50bce2368bc86549907aa784e8b1b638de3a4 /include
parent6e8e6374e71d111ae2ee95dbc9e3e45a3bb22f9d (diff)
parent3f813e47784674a3909fe1277bc10b70d03791e2 (diff)
Merge pull request #92 from bpankajl/tvl_fix
Tvl fix
Diffstat (limited to 'include')
-rw-r--r--include/tinyalsa/mixer.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/tinyalsa/mixer.h b/include/tinyalsa/mixer.h
index d82d4b1..0a48b6f 100644
--- a/include/tinyalsa/mixer.h
+++ b/include/tinyalsa/mixer.h
@@ -41,6 +41,9 @@
extern "C" {
#endif
+/* TLV header size*/
+#define TLV_HEADER_SIZE (2 * sizeof(unsigned int))
+
struct mixer;
struct mixer_ctl;
@@ -107,6 +110,8 @@ const char *mixer_ctl_get_enum_string(struct mixer_ctl *ctl, unsigned int enum_i
*/
void mixer_ctl_update(struct mixer_ctl *ctl);
+int mixer_ctl_is_access_tlv_rw(const struct mixer_ctl *ctl);
+
/* Set and get mixer controls */
int mixer_ctl_get_percent(const struct mixer_ctl *ctl, unsigned int id);