Mercurial > audlegacy-plugins
comparison src/Input/amidi-plug/backend-alsa/b-alsa.h @ 0:13389e613d67 trunk
[svn] - initial import of audacious-plugins tree (lots to do)
author | nenolod |
---|---|
date | Mon, 18 Sep 2006 01:11:49 -0700 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:13389e613d67 |
---|---|
1 /* | |
2 * | |
3 * Author: Giacomo Lozito <james@develia.org>, (C) 2005-2006 | |
4 * | |
5 * This program is free software; you can redistribute it and/or modify it | |
6 * under the terms of the GNU General Public License as published by the | |
7 * Free Software Foundation; either version 2 of the License, or (at your | |
8 * option) any later version. | |
9 * | |
10 * This program is distributed in the hope that it will be useful, but | |
11 * WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
13 * General Public License for more details. | |
14 * | |
15 * You should have received a copy of the GNU General Public License along | |
16 * with this program; if not, write to the Free Software Foundation, Inc., | |
17 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |
18 * | |
19 */ | |
20 | |
21 #ifndef _B_ALSA_H | |
22 #define _B_ALSA_H 1 | |
23 | |
24 #include <alsa/asoundlib.h> | |
25 #include "../i_common.h" | |
26 #include "../pcfg/i_pcfg.h" | |
27 #include "../i_midievent.h" | |
28 | |
29 | |
30 typedef struct | |
31 { | |
32 snd_seq_t * seq; | |
33 gint client_port; | |
34 gint queue; | |
35 | |
36 snd_seq_addr_t * dest_port; | |
37 gint dest_port_num; | |
38 | |
39 snd_seq_queue_tempo_t * queue_tempo; | |
40 | |
41 snd_seq_event_t ev; | |
42 | |
43 gboolean is_start; | |
44 } | |
45 sequencer_client_t; | |
46 | |
47 gint i_seq_open( void ); | |
48 gint i_seq_close( void ); | |
49 gint i_seq_queue_create( void ); | |
50 gint i_seq_queue_free( void ); | |
51 gint i_seq_port_create( void ); | |
52 gint i_seq_port_connect( void ); | |
53 gint i_seq_port_disconnect( void ); | |
54 gint i_seq_port_wparse( gchar * ); | |
55 gint i_seq_event_common_init( midievent_t * ); | |
56 GSList * i_seq_mixctl_get_list( gint ); | |
57 void i_seq_mixctl_free_list( GSList * ); | |
58 gint i_seq_mixer_find_selem( snd_mixer_t * , gchar * , gchar * , gint , snd_mixer_elem_t ** ); | |
59 void i_cfg_read( void ); | |
60 void i_cfg_free( void ); | |
61 gint i_util_str_count( gchar * , gchar ); | |
62 | |
63 #endif /* !_B_ALSA_H */ |