Changeset 426 for GPL/trunk/alsa-kernel/drivers/opl3
- Timestamp:
- May 9, 2009, 11:45:26 AM (16 years ago)
- Location:
- GPL/trunk/alsa-kernel/drivers/opl3
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/trunk/alsa-kernel/drivers/opl3/opl3_lib.c
r399 r426 303 303 status = inb(opl3->l_port); 304 304 #if 0 305 snd_printk( "AdLib IRQ status = 0x%x\n", status);305 snd_printk(KERN_DEBUG "AdLib IRQ status = 0x%x\n", status); 306 306 #endif 307 307 if (!(status & 0x80)) -
GPL/trunk/alsa-kernel/drivers/opl3/opl3_midi.c
r399 r426 126 126 char *str = "x.24"; 127 127 128 printk( "time %.5i: %s [%.2i]: ", opl3->use_time, s, voice);128 printk(KERN_DEBUG "time %.5i: %s [%.2i]: ", opl3->use_time, s, voice); 129 129 for (i = 0; i < opl3->max_voices; i++) 130 130 printk("%c", *(str + opl3->voices[i].state + 1)); … … 219 219 if (best[i].voice >= 0) { 220 220 #ifdef DEBUG_ALLOC 221 printk( "%s %iop allocation on voice %i\n",221 printk(KERN_DEBUG "%s %iop allocation on voice %i\n", 222 222 alloc_type[i], instr_4op ? 4 : 2, 223 223 best[i].voice); … … 318 318 319 319 #ifdef DEBUG_MIDI 320 snd_printk( "Note on, ch %i, inst %i, note %i, vel %i\n",320 snd_printk(KERN_DEBUG "Note on, ch %i, inst %i, note %i, vel %i\n", 321 321 chan->number, chan->midi_program, note, vel); 322 322 #endif … … 373 373 } 374 374 #ifdef DEBUG_MIDI 375 snd_printk( " --> OPL%i instrument: %s\n",375 snd_printk(KERN_DEBUG " --> OPL%i instrument: %s\n", 376 376 instr_4op ? 3 : 2, patch->name); 377 377 #endif … … 432 432 433 433 #ifdef DEBUG_MIDI 434 snd_printk( " --> setting OPL3 connection: 0x%x\n",434 snd_printk(KERN_DEBUG " --> setting OPL3 connection: 0x%x\n", 435 435 opl3->connection_reg); 436 436 #endif … … 467 467 for (i = 0; i < (instr_4op ? 4 : 2); i++) { 468 468 #ifdef DEBUG_MIDI 469 snd_printk( " --> programming operator %i\n", i);469 snd_printk(KERN_DEBUG " --> programming operator %i\n", i); 470 470 #endif 471 471 op_offset = snd_opl3_regmap[voice_offset][i]; … … 547 547 548 548 #ifdef DEBUG_MIDI 549 snd_printk( " --> trigger voice %i\n", voice);549 snd_printk(KERN_DEBUG " --> trigger voice %i\n", voice); 550 550 #endif 551 551 /* Set OPL3 KEYON_BLOCK register of requested voice */ … … 603 603 } 604 604 #ifdef DEBUG_MIDI 605 snd_printk( " *** allocating extra program\n");605 snd_printk(KERN_DEBUG " *** allocating extra program\n"); 606 606 #endif 607 607 goto __extra_prg; … … 634 634 /* kill voice */ 635 635 #ifdef DEBUG_MIDI 636 snd_printk( " --> kill voice %i\n", voice);636 snd_printk(KERN_DEBUG " --> kill voice %i\n", voice); 637 637 #endif 638 638 opl3_reg = reg_side | (OPL3_REG_KEYON_BLOCK + voice_offset); … … 671 671 672 672 #ifdef DEBUG_MIDI 673 snd_printk( "Note off, ch %i, inst %i, note %i\n",673 snd_printk(KERN_DEBUG "Note off, ch %i, inst %i, note %i\n", 674 674 chan->number, chan->midi_program, note); 675 675 #endif … … 710 710 opl3 = p; 711 711 #ifdef DEBUG_MIDI 712 snd_printk( "Key pressure, ch#: %i, inst#: %i\n",712 snd_printk(KERN_DEBUG "Key pressure, ch#: %i, inst#: %i\n", 713 713 chan->number, chan->midi_program); 714 714 #endif … … 724 724 opl3 = p; 725 725 #ifdef DEBUG_MIDI 726 snd_printk( "Terminate note, ch#: %i, inst#: %i\n",726 snd_printk(KERN_DEBUG "Terminate note, ch#: %i, inst#: %i\n", 727 727 chan->number, chan->midi_program); 728 728 #endif … … 813 813 opl3 = p; 814 814 #ifdef DEBUG_MIDI 815 snd_printk( "Controller, TYPE = %i, ch#: %i, inst#: %i\n",815 snd_printk(KERN_DEBUG "Controller, TYPE = %i, ch#: %i, inst#: %i\n", 816 816 type, chan->number, chan->midi_program); 817 817 #endif … … 850 850 opl3 = p; 851 851 #ifdef DEBUG_MIDI 852 snd_printk( "NRPN, ch#: %i, inst#: %i\n",852 snd_printk(KERN_DEBUG "NRPN, ch#: %i, inst#: %i\n", 853 853 chan->number, chan->midi_program); 854 854 #endif … … 865 865 opl3 = p; 866 866 #ifdef DEBUG_MIDI 867 snd_printk( "SYSEX\n");868 #endif 869 } 867 snd_printk(KERN_DEBUG "SYSEX\n"); 868 #endif 869 } -
GPL/trunk/alsa-kernel/drivers/opl3/opl3_synth.c
r399 r426 169 169 #ifdef CONFIG_SND_DEBUG 170 170 default: 171 snd_printk( "unknown IOCTL: 0x%x\n", cmd);171 snd_printk(KERN_WARNING "unknown IOCTL: 0x%x\n", cmd); 172 172 #endif 173 173 }
Note:
See TracChangeset
for help on using the changeset viewer.