File: Mapper_OSS.h

package info (click to toggle)
rosegarden 2.1-3
  • links: PTS
  • area: main
  • in suites: slink
  • size: 3,652 kB
  • ctags: 4,273
  • sloc: ansic: 42,081; makefile: 4,042; sh: 1,711; tcl: 320
file content (25 lines) | stat: -rw-r--r-- 374 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef _MAPPER_OSS_H_

#ifdef MIDI_PITCH_BEND
#undef MIDI_PITCH_BEND
#endif

#ifdef SYSTEM_FREEBSD
#include <machine/soundcard.h>
#elif SYSTEM_OSS
#include <sys/soundcard.h>
#endif

typedef struct _DeviceInformation
{
    DeviceType         Type;

    union
    {
        struct midi_info   Midi;
        struct synth_info  Synth;
    } Data;

} DeviceInformation;

#endif