File: ctrlmode.c

package info (click to toggle)
libsdl2-mixer 2.0.1%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 2,332 kB
  • ctags: 1,907
  • sloc: ansic: 17,190; sh: 9,593; cpp: 241; makefile: 164
file content (26 lines) | stat: -rw-r--r-- 569 bytes parent folder | download | duplicates (9)
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
26
/*
    TiMidity -- Experimental MIDI to WAVE converter
    Copyright (C) 1995 Tuukka Toivonen <toivonen@clinet.fi>

    This program is free software; you can redistribute it and/or modify
    it under the terms of the Perl Artistic License, available in COPYING.
 */

#include "config.h"
#include "ctrlmode.h"

#ifdef SDL
  extern ControlMode sdl_control_mode;
# ifndef DEFAULT_CONTROL_MODE
#  define DEFAULT_CONTROL_MODE &sdl_control_mode
# endif
#endif

ControlMode *ctl_list[]={
#ifdef SDL
  &sdl_control_mode,
#endif
  0
};

ControlMode *ctl=DEFAULT_CONTROL_MODE;