aboutsummaryrefslogtreecommitdiffstats
path: root/sound/oss/midi_synth.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/oss/midi_synth.c')
-rw-r--r--sound/oss/midi_synth.c21
1 files changed, 19 insertions, 2 deletions
diff --git a/sound/oss/midi_synth.c b/sound/oss/midi_synth.c
index d2ab5c08b616..9e450988ed36 100644
--- a/sound/oss/midi_synth.c
+++ b/sound/oss/midi_synth.c
@@ -84,6 +84,7 @@ do_midi_msg(int synthno, unsigned char *msg, int mlen)
84 ; 84 ;
85 } 85 }
86} 86}
87EXPORT_SYMBOL(do_midi_msg);
87 88
88static void 89static void
89midi_outc(int midi_dev, int data) 90midi_outc(int midi_dev, int data)
@@ -276,6 +277,7 @@ int midi_synth_ioctl(int dev, unsigned int cmd, void __user *arg)
276 return -EINVAL; 277 return -EINVAL;
277 } 278 }
278} 279}
280EXPORT_SYMBOL(midi_synth_ioctl);
279 281
280int 282int
281midi_synth_kill_note(int dev, int channel, int note, int velocity) 283midi_synth_kill_note(int dev, int channel, int note, int velocity)
@@ -342,6 +344,7 @@ midi_synth_kill_note(int dev, int channel, int note, int velocity)
342 344
343 return 0; 345 return 0;
344} 346}
347EXPORT_SYMBOL(midi_synth_kill_note);
345 348
346int 349int
347midi_synth_set_instr(int dev, int channel, int instr_no) 350midi_synth_set_instr(int dev, int channel, int instr_no)
@@ -364,6 +367,7 @@ midi_synth_set_instr(int dev, int channel, int instr_no)
364 367
365 return 0; 368 return 0;
366} 369}
370EXPORT_SYMBOL(midi_synth_set_instr);
367 371
368int 372int
369midi_synth_start_note(int dev, int channel, int note, int velocity) 373midi_synth_start_note(int dev, int channel, int note, int velocity)
@@ -405,6 +409,7 @@ midi_synth_start_note(int dev, int channel, int note, int velocity)
405 } 409 }
406 return 0; 410 return 0;
407} 411}
412EXPORT_SYMBOL(midi_synth_start_note);
408 413
409void 414void
410midi_synth_reset(int dev) 415midi_synth_reset(int dev)
@@ -412,6 +417,7 @@ midi_synth_reset(int dev)
412 417
413 leave_sysex(dev); 418 leave_sysex(dev);
414} 419}
420EXPORT_SYMBOL(midi_synth_reset);
415 421
416int 422int
417midi_synth_open(int dev, int mode) 423midi_synth_open(int dev, int mode)
@@ -444,6 +450,7 @@ midi_synth_open(int dev, int mode)
444 450
445 return 1; 451 return 1;
446} 452}
453EXPORT_SYMBOL(midi_synth_open);
447 454
448void 455void
449midi_synth_close(int dev) 456midi_synth_close(int dev)
@@ -459,11 +466,13 @@ midi_synth_close(int dev)
459 466
460 midi_devs[orig_dev]->close(orig_dev); 467 midi_devs[orig_dev]->close(orig_dev);
461} 468}
469EXPORT_SYMBOL(midi_synth_close);
462 470
463void 471void
464midi_synth_hw_control(int dev, unsigned char *event) 472midi_synth_hw_control(int dev, unsigned char *event)
465{ 473{
466} 474}
475EXPORT_SYMBOL(midi_synth_hw_control);
467 476
468int 477int
469midi_synth_load_patch(int dev, int format, const char __user *addr, 478midi_synth_load_patch(int dev, int format, const char __user *addr,
@@ -542,11 +551,13 @@ midi_synth_load_patch(int dev, int format, const char __user *addr,
542 midi_outc(orig_dev, 0xf7); 551 midi_outc(orig_dev, 0xf7);
543 return 0; 552 return 0;
544} 553}
545 554EXPORT_SYMBOL(midi_synth_load_patch);
555
546void midi_synth_panning(int dev, int channel, int pressure) 556void midi_synth_panning(int dev, int channel, int pressure)
547{ 557{
548} 558}
549 559EXPORT_SYMBOL(midi_synth_panning);
560
550void midi_synth_aftertouch(int dev, int channel, int pressure) 561void midi_synth_aftertouch(int dev, int channel, int pressure)
551{ 562{
552 int orig_dev = synth_devs[dev]->midi_dev; 563 int orig_dev = synth_devs[dev]->midi_dev;
@@ -576,6 +587,7 @@ void midi_synth_aftertouch(int dev, int channel, int pressure)
576 587
577 midi_outc(orig_dev, pressure); 588 midi_outc(orig_dev, pressure);
578} 589}
590EXPORT_SYMBOL(midi_synth_aftertouch);
579 591
580void 592void
581midi_synth_controller(int dev, int channel, int ctrl_num, int value) 593midi_synth_controller(int dev, int channel, int ctrl_num, int value)
@@ -604,6 +616,7 @@ midi_synth_controller(int dev, int channel, int ctrl_num, int value)
604 midi_outc(orig_dev, ctrl_num); 616 midi_outc(orig_dev, ctrl_num);
605 midi_outc(orig_dev, value & 0x7f); 617 midi_outc(orig_dev, value & 0x7f);
606} 618}
619EXPORT_SYMBOL(midi_synth_controller);
607 620
608void 621void
609midi_synth_bender(int dev, int channel, int value) 622midi_synth_bender(int dev, int channel, int value)
@@ -635,11 +648,13 @@ midi_synth_bender(int dev, int channel, int value)
635 midi_outc(orig_dev, value & 0x7f); 648 midi_outc(orig_dev, value & 0x7f);
636 midi_outc(orig_dev, (value >> 7) & 0x7f); 649 midi_outc(orig_dev, (value >> 7) & 0x7f);
637} 650}
651EXPORT_SYMBOL(midi_synth_bender);
638 652
639void 653void
640midi_synth_setup_voice(int dev, int voice, int channel) 654midi_synth_setup_voice(int dev, int voice, int channel)
641{ 655{
642} 656}
657EXPORT_SYMBOL(midi_synth_setup_voice);
643 658
644int 659int
645midi_synth_send_sysex(int dev, unsigned char *bytes, int len) 660midi_synth_send_sysex(int dev, unsigned char *bytes, int len)
@@ -695,3 +710,5 @@ midi_synth_send_sysex(int dev, unsigned char *bytes, int len)
695 710
696 return 0; 711 return 0;
697} 712}
713EXPORT_SYMBOL(midi_synth_send_sysex);
714