/[pidim]/src/pidim_common.h
ViewVC logotype

Annotation of /src/pidim_common.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1 - (hide annotations)
Wed Aug 25 18:17:40 2010 UTC (10 years, 1 month ago) by ben
File MIME type: text/plain
File size: 644 byte(s)
first import, some apps working
1 ben 1 #include <alsa/asoundlib.h>
2    
3     /* create a client handle */
4     snd_seq_t* alsa_open_client (const char* name);
5    
6     /* create an input port */
7     int alsa_open_input_port(snd_seq_t *handle, const char* name);
8    
9     /* create an output port */
10     int alsa_open_output_port(snd_seq_t *handle, const char* name);
11    
12     /* initialize an event queue */
13     int alsa_init_queue(snd_seq_t * handle);
14    
15     /* clear an event queue */
16     void alsa_clear_queue(snd_seq_t *handle, int queue_id);
17    
18     /* get the file descriptor of the first MIDI input port */
19     #if SND_LIB_MAJOR > 0 || SND_LIB_MINOR >= 6
20     /* FIXME: this is a dirty hack form XMBC code */
21     int alsa_get_fd(snd_seq_t *handle);
22     #endif

  ViewVC Help
Powered by ViewVC 1.1.26