diff options
author | Ctirad Fertr <c.fertr@gmail.com> | 2007-12-13 10:27:13 -0500 |
---|---|---|
committer | Mercurial server <hg@alsa0.alsa-project.org> | 2008-01-31 11:30:24 -0500 |
commit | 1c02e36681ae20a796204e8d629d13fa9d5e20b5 (patch) | |
tree | 7ae5336de469988b889fd57be64bd2f531213c98 /include/sound | |
parent | 190d2c46e52592ba092e8bf8acd4427c920f2d69 (diff) |
[ALSA] emu10k1 - 1616(M) cardbus improvements
This patch improves E-Mu 1616(M) cardbus support. It adds definitions of the
new Microdock and 1010 cardbus registers (thanks again for descriptions
James) and improves mixer for this card. Now you can use S/PDIF and ADAT on
Mirodock and also use headpohone output on host cardbus card as another
independent output.
Signed-off-by: Ctirad Fertr <c.fertr@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'include/sound')
-rw-r--r-- | include/sound/emu10k1.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/include/sound/emu10k1.h b/include/sound/emu10k1.h index 8a0c3c1ef80d..4474b4e15f7c 100644 --- a/include/sound/emu10k1.h +++ b/include/sound/emu10k1.h | |||
@@ -1299,6 +1299,23 @@ | |||
1299 | #define EMU_DST_ALICE_I2S2_LEFT 0x0700 /* Alice2 I2S2 Left */ | 1299 | #define EMU_DST_ALICE_I2S2_LEFT 0x0700 /* Alice2 I2S2 Left */ |
1300 | #define EMU_DST_ALICE_I2S2_RIGHT 0x0701 /* Alice2 I2S2 Right */ | 1300 | #define EMU_DST_ALICE_I2S2_RIGHT 0x0701 /* Alice2 I2S2 Right */ |
1301 | 1301 | ||
1302 | /* Additional destinations for 1616(M)/Microdock */ | ||
1303 | /* Microdock S/PDIF OUT Left, 1st or 48kHz only */ | ||
1304 | #define EMU_DST_MDOCK_SPDIF_LEFT1 0x0112 | ||
1305 | /* Microdock S/PDIF OUT Left, 2nd or 96kHz */ | ||
1306 | #define EMU_DST_MDOCK_SPDIF_LEFT2 0x0113 | ||
1307 | /* Microdock S/PDIF OUT Right, 1st or 48kHz only */ | ||
1308 | #define EMU_DST_MDOCK_SPDIF_RIGHT1 0x0116 | ||
1309 | /* Microdock S/PDIF OUT Right, 2nd or 96kHz */ | ||
1310 | #define EMU_DST_MDOCK_SPDIF_RIGHT2 0x0117 | ||
1311 | /* Microdock S/PDIF ADAT 8 channel out +8 to +f */ | ||
1312 | #define EMU_DST_MDOCK_ADAT 0x0118 | ||
1313 | |||
1314 | /* Headphone jack on 1010 cardbus? 44.1/48kHz only? */ | ||
1315 | #define EMU_DST_MANA_DAC_LEFT 0x0300 | ||
1316 | /* Headphone jack on 1010 cardbus? 44.1/48kHz only? */ | ||
1317 | #define EMU_DST_MANA_DAC_RIGHT 0x0301 | ||
1318 | |||
1302 | /************************************************************************************************/ | 1319 | /************************************************************************************************/ |
1303 | /* EMU1010m HANA Sources */ | 1320 | /* EMU1010m HANA Sources */ |
1304 | /************************************************************************************************/ | 1321 | /************************************************************************************************/ |
@@ -1452,6 +1469,19 @@ | |||
1452 | #define EMU_SRC_HANA_SPDIF_LEFT2 0x0502 /* Hana SPDIF Left, 2nd or 96kHz */ | 1469 | #define EMU_SRC_HANA_SPDIF_LEFT2 0x0502 /* Hana SPDIF Left, 2nd or 96kHz */ |
1453 | #define EMU_SRC_HANA_SPDIF_RIGHT1 0x0501 /* Hana SPDIF Right, 1st or 48kHz only */ | 1470 | #define EMU_SRC_HANA_SPDIF_RIGHT1 0x0501 /* Hana SPDIF Right, 1st or 48kHz only */ |
1454 | #define EMU_SRC_HANA_SPDIF_RIGHT2 0x0503 /* Hana SPDIF Right, 2nd or 96kHz */ | 1471 | #define EMU_SRC_HANA_SPDIF_RIGHT2 0x0503 /* Hana SPDIF Right, 2nd or 96kHz */ |
1472 | |||
1473 | /* Additional inputs for 1616(M)/Microdock */ | ||
1474 | /* Microdock S/PDIF Left, 1st or 48kHz only */ | ||
1475 | #define EMU_SRC_MDOCK_SPDIF_LEFT1 0x0112 | ||
1476 | /* Microdock S/PDIF Left, 2nd or 96kHz */ | ||
1477 | #define EMU_SRC_MDOCK_SPDIF_LEFT2 0x0113 | ||
1478 | /* Microdock S/PDIF Right, 1st or 48kHz only */ | ||
1479 | #define EMU_SRC_MDOCK_SPDIF_RIGHT1 0x0116 | ||
1480 | /* Microdock S/PDIF Right, 2nd or 96kHz */ | ||
1481 | #define EMU_SRC_MDOCK_SPDIF_RIGHT2 0x0117 | ||
1482 | /* Microdock ADAT 8 channel in +8 to +f */ | ||
1483 | #define EMU_SRC_MDOCK_ADAT 0x0118 | ||
1484 | |||
1455 | /* 0x600 and 0x700 no used */ | 1485 | /* 0x600 and 0x700 no used */ |
1456 | 1486 | ||
1457 | /* ------------------- STRUCTURES -------------------- */ | 1487 | /* ------------------- STRUCTURES -------------------- */ |