OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rc203soc/] [sw/] [uClinux/] [drivers/] [sound/] [midi_synth.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1626 jcastillo
int midi_synth_ioctl (int dev,
2
            unsigned int cmd, caddr_t arg);
3
int midi_synth_kill_note (int dev, int channel, int note, int velocity);
4
int midi_synth_set_instr (int dev, int channel, int instr_no);
5
int midi_synth_start_note (int dev, int channel, int note, int volume);
6
void midi_synth_reset (int dev);
7
int midi_synth_open (int dev, int mode);
8
void midi_synth_close (int dev);
9
void midi_synth_hw_control (int dev, unsigned char *event);
10
int midi_synth_load_patch (int dev, int format, const char * addr,
11
                 int offs, int count, int pmgr_flag);
12
void midi_synth_panning (int dev, int channel, int pressure);
13
void midi_synth_aftertouch (int dev, int channel, int pressure);
14
void midi_synth_controller (int dev, int channel, int ctrl_num, int value);
15
int midi_synth_patchmgr (int dev, struct patmgr_info *rec);
16
void midi_synth_bender (int dev, int chn, int value);
17
void midi_synth_setup_voice (int dev, int voice, int chn);
18
int midi_synth_send_sysex(int dev, unsigned char *bytes,int len);
19
 
20
#ifndef _MIDI_SYNTH_C_
21
static struct synth_info std_synth_info =
22
{MIDI_SYNTH_NAME, 0, SYNTH_TYPE_MIDI, 0, 0, 128, 0, 128, MIDI_SYNTH_CAPS};
23
 
24
static struct synth_operations std_midi_synth =
25
{
26
  &std_synth_info,
27
  0,
28
  SYNTH_TYPE_MIDI,
29
  0,
30
  midi_synth_open,
31
  midi_synth_close,
32
  midi_synth_ioctl,
33
  midi_synth_kill_note,
34
  midi_synth_start_note,
35
  midi_synth_set_instr,
36
  midi_synth_reset,
37
  midi_synth_hw_control,
38
  midi_synth_load_patch,
39
  midi_synth_aftertouch,
40
  midi_synth_controller,
41
  midi_synth_panning,
42
  NULL,
43
  midi_synth_patchmgr,
44
  midi_synth_bender,
45
  NULL, /* alloc_voice */
46
  midi_synth_setup_voice,
47
  midi_synth_send_sysex
48
};
49
#endif

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.