diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2006-02-03 23:59:41 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2006-02-03 23:59:41 +0000 |
commit | 44a5c827b7f6576b180043f8edd1837c611033e1 (patch) | |
tree | c5c3830de86f87f853bb469b771bcdd8bb1de5c2 /firmware/export/tlv320.h | |
parent | 97f38e563226e72d440c2f22e9a261ed13bea5d2 (diff) | |
download | rockbox-44a5c827b7f6576b180043f8edd1837c611033e1.tar.gz rockbox-44a5c827b7f6576b180043f8edd1837c611033e1.zip |
iAudio X5: Corrected crappy code, just to make the damn thing compile
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8559 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/tlv320.h')
-rw-r--r-- | firmware/export/tlv320.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/firmware/export/tlv320.h b/firmware/export/tlv320.h index d07b0a199c..c4599f02b2 100644 --- a/firmware/export/tlv320.h +++ b/firmware/export/tlv320.h | |||
@@ -41,25 +41,25 @@ extern void tlv320_disable_recording(void); | |||
41 | #define REG_LLIV 0x0 | 41 | #define REG_LLIV 0x0 |
42 | #define LLIV_LRS (0 << 8) /* simultaneous volume/mute update */ | 42 | #define LLIV_LRS (0 << 8) /* simultaneous volume/mute update */ |
43 | #define LLIV_LIM (1 << 7) /* Left line input mute */ | 43 | #define LLIV_LIM (1 << 7) /* Left line input mute */ |
44 | #define LLIV_LIV ((x) & 0x1f)/* Left line input volume control */ | 44 | #define LLIV_LIV(x) ((x) & 0x1f)/* Left line input volume control */ |
45 | 45 | ||
46 | /* REG_RLIV: Right line input channel volume control */ | 46 | /* REG_RLIV: Right line input channel volume control */ |
47 | #define REG_RLIV 0x1 | 47 | #define REG_RLIV 0x1 |
48 | #define RLIV_RLS (0 << 8) /* simultaneous volume/mute update */ | 48 | #define RLIV_RLS (0 << 8) /* simultaneous volume/mute update */ |
49 | #define RLIV_RIM (0 << 7) /* Right line input mute */ | 49 | #define RLIV_RIM (0 << 7) /* Right line input mute */ |
50 | #define RLIV_LIV ((x) & 0x1f)/* Right line input volume control */ | 50 | #define RLIV_RIV(x) ((x) & 0x1f)/* Right line input volume control */ |
51 | 51 | ||
52 | /* REG_LHV: Left Channel Headphone Volume Control */ | 52 | /* REG_LHV: Left Channel Headphone Volume Control */ |
53 | #define REG_LHV 0x2 | 53 | #define REG_LHV 0x2 |
54 | #define LHV_LRS (0 << 8) /* simultaneous volume/mute update */ | 54 | #define LHV_LRS (0 << 8) /* simultaneous volume/mute update */ |
55 | #define LHV_LZC (0 << 7) /* Left-channel zero-cross detect */ | 55 | #define LHV_LZC (0 << 7) /* Left-channel zero-cross detect */ |
56 | #define LHV_LHV ((x) & 0x7f)/* Left headphone volume control */ | 56 | #define LHV_LHV(x) ((x) & 0x7f)/* Left headphone volume control */ |
57 | 57 | ||
58 | /* REG_RHV: Right Channel Headphone Volume Control */ | 58 | /* REG_RHV: Right Channel Headphone Volume Control */ |
59 | #define REG_RHV 0x3 | 59 | #define REG_RHV 0x3 |
60 | #define RHV_LRS (0 << 8) /* simultaneous volume/mute update */ | 60 | #define RHV_LRS (0 << 8) /* simultaneous volume/mute update */ |
61 | #define RHV_RZC (0 << 7) /* Right-channel zero-cross detect */ | 61 | #define RHV_RZC (0 << 7) /* Right-channel zero-cross detect */ |
62 | #define RHV_LHV ((x) & 0x7f)/* Right headphone volume control */ | 62 | #define RHV_RHV(x) ((x) & 0x7f)/* Right headphone volume control */ |
63 | 63 | ||
64 | /* REG_AAP: Analog Audio Path Control */ | 64 | /* REG_AAP: Analog Audio Path Control */ |
65 | #define REG_AAP 0x4 | 65 | #define REG_AAP 0x4 |