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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#![allow(non_camel_case_types)]

use libc::{FILE, pid_t, timeval, timespec, pollfd};

pub const SND_PCM_NONBLOCK: ::std::os::raw::c_int = 0x1;
pub const SND_PCM_ASYNC: ::std::os::raw::c_int = 0x2;

pub const SND_SEQ_OPEN_OUTPUT: i32 = 1;
pub const SND_SEQ_OPEN_INPUT: i32 = 2;
pub const SND_SEQ_OPEN_DUPLEX: i32 = SND_SEQ_OPEN_OUTPUT | SND_SEQ_OPEN_INPUT;
pub const SND_SEQ_NONBLOCK: i32 = 0x0001;
pub const SND_SEQ_ADDRESS_BROADCAST: u8 = 255;
pub const SND_SEQ_ADDRESS_SUBSCRIBERS: u8 = 254;
pub const SND_SEQ_ADDRESS_UNKNOWN: u8 = 253;
pub const SND_SEQ_QUEUE_DIRECT: u8 = 253;
pub const SND_SEQ_TIME_MODE_MASK: u8 = 1<<1;
pub const SND_SEQ_TIME_STAMP_MASK: u8 = 1<<0;
pub const SND_SEQ_TIME_MODE_REL: u8 = 1<<1;
pub const SND_SEQ_TIME_STAMP_REAL: u8 = 1<<0;
pub const SND_SEQ_TIME_STAMP_TICK: u8 = 0<<0;
pub const SND_SEQ_TIME_MODE_ABS: u8 = 0<<1;
pub const SND_SEQ_CLIENT_SYSTEM: u8 = 0;
pub const SND_SEQ_PORT_SYSTEM_TIMER: u8 = 0;
pub const SND_SEQ_PORT_SYSTEM_ANNOUNCE: u8 = 1;
pub const SND_SEQ_PRIORITY_HIGH: u8 = 1<<4;
pub const SND_SEQ_EVENT_LENGTH_FIXED: u8 = 0<<2;
pub const SND_SEQ_EVENT_LENGTH_MASK: u8 = 3<<2;
pub const SND_SEQ_EVENT_LENGTH_VARIABLE: u8 = 1<<2;
pub const SND_SEQ_EVENT_LENGTH_VARUSR: u8 = 2<<2;

#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct __va_list_tag {
    pub gp_offset: ::std::os::raw::c_uint,
    pub fp_offset: ::std::os::raw::c_uint,
    pub overflow_arg_area: *mut ::std::os::raw::c_void,
    pub reg_save_area: *mut ::std::os::raw::c_void,
}

include!("generated.rs");