1 #ifndef _DRIVERS_SOUND_DM_H
2 #define _DRIVERS_SOUND_DM_H
5 * Definitions of the 'direct midi sound' interface used
6 * by the newer commercial OSS package. We should export
7 * this to userland somewhere in glibc later.
11 * Data structure composing an FM "note" or sound event.
37 * This describes an FM note by its voice, octave, frequency number (10bit)
50 * FM parameters that apply globally to all voices, and thus are not "notes"
60 /* This block is the percussion instrument data */
69 * FM mode ioctl settings
72 #define FM_IOCTL_RESET 0x20
73 #define FM_IOCTL_PLAY_NOTE 0x21
74 #define FM_IOCTL_SET_VOICE 0x22
75 #define FM_IOCTL_SET_PARAMS 0x23
76 #define FM_IOCTL_SET_MODE 0x24
77 #define FM_IOCTL_SET_OPL 0x25