linux/include/sound/asequencer.h

/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
 *  Main header file for the ALSA sequencer
 *  Copyright (c) 1998-1999 by Frank van de Pol <[email protected]>
 *            (c) 1998-1999 by Jaroslav Kysela <[email protected]>
 */
#ifndef __SOUND_ASEQUENCER_H
#define __SOUND_ASEQUENCER_H

#include <linux/ioctl.h>
#include <sound/asound.h>
#include <uapi/sound/asequencer.h>

/* helper macro */
#define snd_seq_event_bounce_ext_data(ev)

/*
 * type check macros
 */
/* result events: 0-4 */
#define snd_seq_ev_is_result_type(ev)
/* channel specific events: 5-19 */
#define snd_seq_ev_is_channel_type(ev)
/* note events: 5-9 */
#define snd_seq_ev_is_note_type(ev)
/* control events: 10-19 */
#define snd_seq_ev_is_control_type(ev)
/* queue control events: 30-39 */
#define snd_seq_ev_is_queue_type(ev)
/* system status messages */
#define snd_seq_ev_is_message_type(ev)
/* sample messages */
#define snd_seq_ev_is_sample_type(ev)
/* user-defined messages */
#define snd_seq_ev_is_user_type(ev)
/* fixed length events: 0-99 */
#define snd_seq_ev_is_fixed_type(ev)
/* variable length events: 130-139 */
#define snd_seq_ev_is_variable_type(ev)
/* reserved for kernel */
#define snd_seq_ev_is_reserved(ev)

/* direct dispatched events */
#define snd_seq_ev_is_direct(ev)

/*
 * macros to check event flags
 */
/* prior events */
#define snd_seq_ev_is_prior(ev)

/* event length type */
#define snd_seq_ev_length_type(ev)
#define snd_seq_ev_is_fixed(ev)
#define snd_seq_ev_is_variable(ev)
#define snd_seq_ev_is_varusr(ev)

/* time-stamp type */
#define snd_seq_ev_timestamp_type(ev)
#define snd_seq_ev_is_tick(ev)
#define snd_seq_ev_is_real(ev)

/* time-mode type */
#define snd_seq_ev_timemode_type(ev)
#define snd_seq_ev_is_abstime(ev)
#define snd_seq_ev_is_reltime(ev)

/* check whether the given event is a UMP event */
#define snd_seq_ev_is_ump(ev)

/* queue sync port */
#define snd_seq_queue_sync_port(q)

#endif /* __SOUND_ASEQUENCER_H */