Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 316175
b: refs/heads/master
c: bf1d1c9
h: refs/heads/master
i:
  316173: 2fbcae5
  316171: 4cdce98
  316167: a006ce9
  316159: 0ccb1b8
v: v3
  • Loading branch information
Clemens Ladisch authored and Takashi Iwai committed Jul 16, 2012
1 parent f5a3a03 commit 3ed7965
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 570aef5de13df21e42eeb90db67e2436bee91bd4
refs/heads/master: bf1d1c9b6179faa3bc32cee882462bc8eebde25d
4 changes: 4 additions & 0 deletions trunk/include/sound/tlv.h
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,10 @@

/* dB range container */
/* Each item is: <min> <max> <TLV> */
#define TLV_DB_RANGE_ITEM(...) \
TLV_ITEM(SNDRV_CTL_TLVT_DB_RANGE, __VA_ARGS__)
#define DECLARE_TLV_DB_RANGE(name, ...) \
unsigned int name[] = { TLV_DB_RANGE_ITEM(__VA_ARGS__) }
/* The below assumes that each item TLV is 4 words like DB_SCALE or LINEAR */
#define TLV_DB_RANGE_HEAD(num) \
SNDRV_CTL_TLVT_DB_RANGE, 6 * (num) * sizeof(unsigned int)
Expand Down

0 comments on commit 3ed7965

Please sign in to comment.