aboutsummaryrefslogtreecommitdiff
path: root/sound/drivers/opl3/opl3_seq.c
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2006-05-02 15:50:05 +0200
committerJaroslav Kysela <perex@suse.cz>2006-06-22 21:33:17 +0200
commitc97f3dd85490e51ba48782dd0c063cdade352c0d (patch)
treeee2dee73cf5daaabc8acebc2c78f056465d284e4 /sound/drivers/opl3/opl3_seq.c
parentf4a747f155fe375231196ec3d26fcb6e3675d82f (diff)
[ALSA] fix port type bits
Fix the port information about non-MIDI messages that had wrong values for some OPL3 and EmuX ports. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Diffstat (limited to 'sound/drivers/opl3/opl3_seq.c')
-rw-r--r--sound/drivers/opl3/opl3_seq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/drivers/opl3/opl3_seq.c b/sound/drivers/opl3/opl3_seq.c
index 57becf34f43..2aece1b1866 100644
--- a/sound/drivers/opl3/opl3_seq.c
+++ b/sound/drivers/opl3/opl3_seq.c
@@ -203,7 +203,7 @@ static int snd_opl3_synth_create_port(struct snd_opl3 * opl3)
SNDRV_SEQ_PORT_CAP_SUBS_WRITE,
SNDRV_SEQ_PORT_TYPE_MIDI_GENERIC |
SNDRV_SEQ_PORT_TYPE_MIDI_GM |
- SNDRV_SEQ_PORT_TYPE_SYNTH,
+ SNDRV_SEQ_PORT_TYPE_DIRECT_SAMPLE,
16, voices,
name);
if (opl3->chset->port < 0) {