Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 316174
b: refs/heads/master
c: 570aef5
h: refs/heads/master
v: v3
  • Loading branch information
Clemens Ladisch authored and Takashi Iwai committed Jul 16, 2012
1 parent 2fbcae5 commit f5a3a03
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b5b9eb546762c4015c67c31364a6ec6f83fd2ada
refs/heads/master: 570aef5de13df21e42eeb90db67e2436bee91bd4
5 changes: 5 additions & 0 deletions trunk/include/sound/tlv.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@
#define TLV_LENGTH(...) \
((unsigned int)sizeof((const unsigned int[]) { __VA_ARGS__ }))

#define TLV_CONTAINER_ITEM(...) \
TLV_ITEM(SNDRV_CTL_TLVT_CONTAINER, __VA_ARGS__)
#define DECLARE_TLV_CONTAINER(name, ...) \
unsigned int name[] = { TLV_CONTAINER_ITEM(__VA_ARGS__) }

#define TLV_DB_SCALE_MASK 0xffff
#define TLV_DB_SCALE_MUTE 0x10000
#define TLV_DB_SCALE_ITEM(min, step, mute) \
Expand Down

0 comments on commit f5a3a03

Please sign in to comment.