Main Page   Modules   Data Structures   File List   Data Fields   Globals   Related Pages   Examples  

seq_event.h File Reference

Application interface library for the ALSA driver. More...

Go to the source code of this file.

Data Structures

struct  snd_seq_ev_instr_begin
struct  snd_seq_ev_queue_control
struct  snd_seq_addr
struct  snd_seq_connect
struct  snd_seq_ev_cluster
struct  snd_seq_ev_ctrl
struct  snd_seq_ev_ext
struct  snd_seq_ev_loop
struct  snd_seq_ev_note
struct  snd_seq_ev_raw32
struct  snd_seq_ev_raw8
struct  snd_seq_ev_sample
struct  snd_seq_ev_sample_control
struct  snd_seq_ev_volume
struct  snd_seq_event
struct  snd_seq_instr
struct  snd_seq_queue_skew
struct  snd_seq_real_time
struct  snd_seq_result
union  snd_seq_timestamp

Defines

#define SND_SEQ_TIME_STAMP_TICK   (0<<0) /**< timestamp in clock ticks */
#define SND_SEQ_TIME_STAMP_REAL   (1<<0) /**< timestamp in real time */
#define SND_SEQ_TIME_STAMP_MASK   (1<<0) /**< mask for timestamp bits */
#define SND_SEQ_TIME_MODE_ABS   (0<<1) /**< absolute timestamp */
#define SND_SEQ_TIME_MODE_REL   (1<<1) /**< relative to current time */
#define SND_SEQ_TIME_MODE_MASK   (1<<1) /**< mask for time mode bits */
#define SND_SEQ_EVENT_LENGTH_FIXED   (0<<2) /**< fixed event size */
#define SND_SEQ_EVENT_LENGTH_VARIABLE   (1<<2) /**< variable event size */
#define SND_SEQ_EVENT_LENGTH_VARUSR   (2<<2) /**< variable event size - user memory space */
#define SND_SEQ_EVENT_LENGTH_MASK   (3<<2) /**< mask for event length bits */
#define SND_SEQ_PRIORITY_NORMAL   (0<<4) /**< normal priority */
#define SND_SEQ_PRIORITY_HIGH   (1<<4) /**< event should be processed before others */
#define SND_SEQ_PRIORITY_MASK   (1<<4) /**< mask for priority bits */

Typedefs

typedef unsigned char snd_seq_event_type_t
typedef snd_seq_addr snd_seq_addr_t
typedef snd_seq_connect snd_seq_connect_t
typedef snd_seq_real_time snd_seq_real_time_t
typedef unsigned int snd_seq_tick_time_t
typedef snd_seq_timestamp snd_seq_timestamp_t
typedef snd_seq_ev_note snd_seq_ev_note_t
typedef snd_seq_ev_ctrl snd_seq_ev_ctrl_t
typedef snd_seq_ev_raw8 snd_seq_ev_raw8_t
typedef snd_seq_ev_raw32 snd_seq_ev_raw32_t
typedef snd_seq_ev_ext snd_seq_ev_ext_t
typedef unsigned int snd_seq_instr_cluster_t
typedef snd_seq_instr snd_seq_instr_t
typedef snd_seq_ev_sample snd_seq_ev_sample_t
typedef snd_seq_ev_cluster snd_seq_ev_cluster_t
typedef unsigned int snd_seq_position_t
typedef enum snd_seq_stop_mode snd_seq_stop_mode_t
typedef int snd_seq_frequency_t
typedef snd_seq_ev_volume snd_seq_ev_volume_t
typedef snd_seq_ev_loop snd_seq_ev_loop_t
typedef snd_seq_ev_sample_control snd_seq_ev_sample_control_t
typedef snd_seq_ev_instr_begin snd_seq_ev_instr_begin_t
typedef snd_seq_result snd_seq_result_t
typedef snd_seq_queue_skew snd_seq_queue_skew_t
typedef snd_seq_ev_queue_control snd_seq_ev_queue_control_t
typedef snd_seq_event snd_seq_event_t

Enumerations

enum  snd_seq_event_type {
  SND_SEQ_EVENT_SYSTEM = 0, SND_SEQ_EVENT_RESULT, SND_SEQ_EVENT_NOTE = 5, SND_SEQ_EVENT_NOTEON,
  SND_SEQ_EVENT_NOTEOFF, SND_SEQ_EVENT_KEYPRESS, SND_SEQ_EVENT_CONTROLLER = 10, SND_SEQ_EVENT_PGMCHANGE,
  SND_SEQ_EVENT_CHANPRESS, SND_SEQ_EVENT_PITCHBEND, SND_SEQ_EVENT_CONTROL14, SND_SEQ_EVENT_NONREGPARAM,
  SND_SEQ_EVENT_REGPARAM, SND_SEQ_EVENT_SONGPOS = 20, SND_SEQ_EVENT_SONGSEL, SND_SEQ_EVENT_QFRAME,
  SND_SEQ_EVENT_TIMESIGN, SND_SEQ_EVENT_KEYSIGN, SND_SEQ_EVENT_START = 30, SND_SEQ_EVENT_CONTINUE,
  SND_SEQ_EVENT_STOP, SND_SEQ_EVENT_SETPOS_TICK, SND_SEQ_EVENT_SETPOS_TIME, SND_SEQ_EVENT_TEMPO,
  SND_SEQ_EVENT_CLOCK, SND_SEQ_EVENT_TICK, SND_SEQ_EVENT_QUEUE_SKEW, SND_SEQ_EVENT_SYNC_POS,
  SND_SEQ_EVENT_TUNE_REQUEST = 40, SND_SEQ_EVENT_RESET, SND_SEQ_EVENT_SENSING, SND_SEQ_EVENT_ECHO = 50,
  SND_SEQ_EVENT_OSS, SND_SEQ_EVENT_CLIENT_START = 60, SND_SEQ_EVENT_CLIENT_EXIT, SND_SEQ_EVENT_CLIENT_CHANGE,
  SND_SEQ_EVENT_PORT_START, SND_SEQ_EVENT_PORT_EXIT, SND_SEQ_EVENT_PORT_CHANGE, SND_SEQ_EVENT_PORT_SUBSCRIBED,
  SND_SEQ_EVENT_PORT_UNSUBSCRIBED, SND_SEQ_EVENT_SAMPLE = 70, SND_SEQ_EVENT_SAMPLE_CLUSTER, SND_SEQ_EVENT_SAMPLE_START,
  SND_SEQ_EVENT_SAMPLE_STOP, SND_SEQ_EVENT_SAMPLE_FREQ, SND_SEQ_EVENT_SAMPLE_VOLUME, SND_SEQ_EVENT_SAMPLE_LOOP,
  SND_SEQ_EVENT_SAMPLE_POSITION, SND_SEQ_EVENT_SAMPLE_PRIVATE1, SND_SEQ_EVENT_USR0 = 90, SND_SEQ_EVENT_USR1,
  SND_SEQ_EVENT_USR2, SND_SEQ_EVENT_USR3, SND_SEQ_EVENT_USR4, SND_SEQ_EVENT_USR5,
  SND_SEQ_EVENT_USR6, SND_SEQ_EVENT_USR7, SND_SEQ_EVENT_USR8, SND_SEQ_EVENT_USR9,
  SND_SEQ_EVENT_INSTR_BEGIN = 100, SND_SEQ_EVENT_INSTR_END, SND_SEQ_EVENT_INSTR_INFO, SND_SEQ_EVENT_INSTR_INFO_RESULT,
  SND_SEQ_EVENT_INSTR_FINFO, SND_SEQ_EVENT_INSTR_FINFO_RESULT, SND_SEQ_EVENT_INSTR_RESET, SND_SEQ_EVENT_INSTR_STATUS,
  SND_SEQ_EVENT_INSTR_STATUS_RESULT, SND_SEQ_EVENT_INSTR_PUT, SND_SEQ_EVENT_INSTR_GET, SND_SEQ_EVENT_INSTR_GET_RESULT,
  SND_SEQ_EVENT_INSTR_FREE, SND_SEQ_EVENT_INSTR_LIST, SND_SEQ_EVENT_INSTR_LIST_RESULT, SND_SEQ_EVENT_INSTR_CLUSTER,
  SND_SEQ_EVENT_INSTR_CLUSTER_GET, SND_SEQ_EVENT_INSTR_CLUSTER_RESULT, SND_SEQ_EVENT_INSTR_CHANGE, SND_SEQ_EVENT_SYSEX = 130,
  SND_SEQ_EVENT_BOUNCE, SND_SEQ_EVENT_USR_VAR0 = 135, SND_SEQ_EVENT_USR_VAR1, SND_SEQ_EVENT_USR_VAR2,
  SND_SEQ_EVENT_USR_VAR3, SND_SEQ_EVENT_USR_VAR4, SND_SEQ_EVENT_NONE = 255
}
enum  snd_seq_stop_mode { SND_SEQ_SAMPLE_STOP_IMMEDIATELY = 0, SND_SEQ_SAMPLE_STOP_VENVELOPE = 1, SND_SEQ_SAMPLE_STOP_LOOP = 2 }


Detailed Description

Application interface library for the ALSA driver.

>

Author:
Jaroslav Kysela <perex@suse.cz> , Abramo Bagnara <abramo@alsa-project.org> , Takashi Iwai <tiwai@suse.de>
Date:
1998-2001
Application interface library for the ALSA driver

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA


Generated on Thu Feb 27 11:30:37 2003 for ALSA project - the C library reference by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002