File: Mapper_OSS.h

package info (click to toggle)
rosegarden 2.1pl3-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 3,604 kB
  • ctags: 4,346
  • sloc: ansic: 42,763; sh: 1,730; makefile: 441; tcl: 320
file content (25 lines) | stat: -rw-r--r-- 405 bytes parent folder | download | duplicates (2)
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

#if defined(SYSTEM_FREEBSD) || defined (__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