diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2006-05-08 03:52:38 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2006-05-08 03:52:38 +0000 |
commit | 9b14c2412a705c63c0c3812d32c231530bfaf8d5 (patch) | |
tree | a277d4fb5f575d417798ec7af6247c5d2ccee1ae /sys/dev/pci/azalia.h | |
parent | a9dfbeb84a851f947455c476a3b89e2fe3d78518 (diff) |
- make this compile with AZALIA_DEBUG
- introduce WIDGET_CHANNELS macro
From NetBSD
Diffstat (limited to 'sys/dev/pci/azalia.h')
-rw-r--r-- | sys/dev/pci/azalia.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/pci/azalia.h b/sys/dev/pci/azalia.h index 945383dc9a7..c22d478f663 100644 --- a/sys/dev/pci/azalia.h +++ b/sys/dev/pci/azalia.h @@ -490,6 +490,7 @@ typedef struct { } volume; } d; } widget_t; +#define WIDGET_CHANNELS(w) ((w)->widgetcap & COP_AWCAP_STEREO ? 2 : 1) typedef struct { mixer_devinfo_t devinfo; |