summaryrefslogtreecommitdiff
path: root/sound/pci/ice1712/ice1712.h
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2008-05-20 14:22:44 +0200
committerClemens Ladisch <clemens@ladisch.de>2008-05-20 14:22:44 +0200
commitaea3bfbcfb0453217c8da6cfdc1b2394d214bee5 (patch)
tree7bf1609d799d92cb37a4d30552f4646d0603574e /sound/pci/ice1712/ice1712.h
parent33e5b22285f63ede858c00456f3ffbc2ea79d6cf (diff)
[ALSA] ice1724: fix MIDI
The VT1724 MIDI port is not MPU-401 compatible; remove the hacks that try to make the MPU-401 library work with it, and just use some simple device-specific code. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Tested-by: Pavel Hofman <pavel.hofman@insite.cz>
Diffstat (limited to 'sound/pci/ice1712/ice1712.h')
-rw-r--r--sound/pci/ice1712/ice1712.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/pci/ice1712/ice1712.h b/sound/pci/ice1712/ice1712.h
index 3208901c740e..762fbd7a7507 100644
--- a/sound/pci/ice1712/ice1712.h
+++ b/sound/pci/ice1712/ice1712.h
@@ -333,6 +333,8 @@ struct snd_ice1712 {
unsigned int has_spdif: 1; /* VT1720/4 - has SPDIF I/O */
unsigned int force_pdma4: 1; /* VT1720/4 - PDMA4 as non-spdif */
unsigned int force_rdma1: 1; /* VT1720/4 - RDMA1 as non-spdif */
+ unsigned int midi_output: 1; /* VT1720/4: MIDI output triggered */
+ unsigned int midi_input: 1; /* VT1720/4: MIDI input triggered */
unsigned int num_total_dacs; /* total DACs */
unsigned int num_total_adcs; /* total ADCs */
unsigned int cur_rate; /* current rate */