diff options
Diffstat (limited to 'sound/oss/opl3.c')
-rw-r--r-- | sound/oss/opl3.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/oss/opl3.c b/sound/oss/opl3.c index 607cee4d545e..b6d19adf8f41 100644 --- a/sound/oss/opl3.c +++ b/sound/oss/opl3.c | |||
@@ -666,7 +666,7 @@ static int opl3_start_note (int dev, int voice, int note, int volume) | |||
666 | opl3_command(map->ioaddr, FNUM_LOW + map->voice_num, data); | 666 | opl3_command(map->ioaddr, FNUM_LOW + map->voice_num, data); |
667 | 667 | ||
668 | data = 0x20 | ((block & 0x7) << 2) | ((fnum >> 8) & 0x3); | 668 | data = 0x20 | ((block & 0x7) << 2) | ((fnum >> 8) & 0x3); |
669 | devc->voc[voice].keyon_byte = data; | 669 | devc->voc[voice].keyon_byte = data; |
670 | opl3_command(map->ioaddr, KEYON_BLOCK + map->voice_num, data); | 670 | opl3_command(map->ioaddr, KEYON_BLOCK + map->voice_num, data); |
671 | if (voice_mode == 4) | 671 | if (voice_mode == 4) |
672 | opl3_command(map->ioaddr, KEYON_BLOCK + map->voice_num + 3, data); | 672 | opl3_command(map->ioaddr, KEYON_BLOCK + map->voice_num + 3, data); |
@@ -717,7 +717,7 @@ static void freq_to_fnum (int freq, int *block, int *fnum) | |||
717 | 717 | ||
718 | static void opl3_command (int io_addr, unsigned int addr, unsigned int val) | 718 | static void opl3_command (int io_addr, unsigned int addr, unsigned int val) |
719 | { | 719 | { |
720 | int i; | 720 | int i; |
721 | 721 | ||
722 | /* | 722 | /* |
723 | * The original 2-OP synth requires a quite long delay after writing to a | 723 | * The original 2-OP synth requires a quite long delay after writing to a |