linux/sound/core/seq/oss/seq_oss_event.h

/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
 * OSS compatible sequencer driver
 *
 * seq_oss_event.h - OSS event queue record
 *
 * Copyright (C) 1998,99 Takashi Iwai <[email protected]>
 */

#ifndef __SEQ_OSS_EVENT_H
#define __SEQ_OSS_EVENT_H

#include "seq_oss_device.h"

#define SHORT_EVENT_SIZE
#define LONG_EVENT_SIZE

/* short event (4bytes) */
struct evrec_short {};
	
/* short note events (4bytes) */
struct evrec_note {};
	
/* long timer events (8bytes) */
struct evrec_timer {};

/* long extended events (8bytes) */
struct evrec_extended {};

/* long channel events (8bytes) */
struct evrec_long {};
	
/* channel voice events (8bytes) */
struct evrec_voice {};

/* sysex events (8bytes) */
struct evrec_sysex {};

/* event record */
evrec;

#define ev_is_long(ev)
#define ev_length(ev)

int snd_seq_oss_process_event(struct seq_oss_devinfo *dp, union evrec *q, struct snd_seq_event *ev);
int snd_seq_oss_process_timer_event(struct seq_oss_timer *rec, union evrec *q);
int snd_seq_oss_event_input(struct snd_seq_event *ev, int direct, void *private_data, int atomic, int hop);


#endif /* __SEQ_OSS_EVENT_H */