linux/include/sound/seq_oss.h

/* SPDX-License-Identifier: GPL-2.0-or-later */
#ifndef __SOUND_SEQ_OSS_H
#define __SOUND_SEQ_OSS_H

/*
 * OSS compatible sequencer driver
 *
 * Copyright (C) 1998,99 Takashi Iwai
 */

#include <sound/asequencer.h>
#include <sound/seq_kernel.h>

/*
 * argument structure for synthesizer operations
 */
struct snd_seq_oss_arg {};


/*
 * synthesizer operation callbacks
 */
struct snd_seq_oss_callback {};

/* flag: file_mode */
#define SNDRV_SEQ_OSS_FILE_ACMODE
#define SNDRV_SEQ_OSS_FILE_READ
#define SNDRV_SEQ_OSS_FILE_WRITE
#define SNDRV_SEQ_OSS_FILE_NONBLOCK

/* flag: seq_mode */
#define SNDRV_SEQ_OSS_MODE_SYNTH
#define SNDRV_SEQ_OSS_MODE_MUSIC

/* flag: event_passing */
#define SNDRV_SEQ_OSS_PROCESS_EVENTS
#define SNDRV_SEQ_OSS_PASS_EVENTS
#define SNDRV_SEQ_OSS_PROCESS_KEYPRESS

/* default control rate: fixed */
#define SNDRV_SEQ_OSS_CTRLRATE

/* default max queue length: configurable by module option */
#define SNDRV_SEQ_OSS_MAX_QLEN


/*
 * data pointer to snd_seq_register_device
 */
struct snd_seq_oss_reg {};

/* device id */
#define SNDRV_SEQ_DEV_ID_OSS

#endif /* __SOUND_SEQ_OSS_H */