Debian Codegraph @

src/seqpriv.h

raw symbols SCIP
1 /*
2 * File: seqpriv.h
3 *
4 * Copyright (C) 1999-2003 Steve Ratcliffe
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 *
16 * ---------
17 * This file is a set of interfaces to provide a little
18 * higher level view of the sequencer. It is mainly experimental
19 * to investigate new approaches. If successful they will be proposed
20 * as additions/replacements to the existing seq lib.
21 *
22 *
23 *
24 */
25
26 struct seq_context {
27 snd_seq_t *handle; /* The snd_seq handle to /dev/snd/seq */
28 int client;/* The client associated with this context */
29 int queue; /* The queue to use for all operations */
30 snd_seq_addr_t source; /* Source for events */
31 GArray *destlist; /* Destination list */
32 #define ctxndest destlist->len
33 #define ctxdest destlist->data
34
35 char timer_started; /* True if timer is running */
36 int port_count; /* Ports allocated */
37
38 struct seq_context *main; /* Pointer to the main context */
39 GSList *ctlist; /* Context list if a main context */
40 };
41