linux/include/uapi/sound/sfnt_info.h

/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
#ifndef __SOUND_SFNT_INFO_H
#define __SOUND_SFNT_INFO_H

/*
 *  Patch record compatible with AWE driver on OSS
 *
 *  Copyright (C) 1999-2000 Takashi Iwai
 */

#include <sound/asound.h>

/*
 * patch information record
 */

#ifdef SNDRV_BIG_ENDIAN
#define SNDRV_OSS_PATCHKEY
#else
#define SNDRV_OSS_PATCHKEY(id)
#endif

/* patch interface header: 16 bytes */
struct soundfont_patch_info {};


/*
 * open patch
 */

#define SNDRV_SFNT_PATCH_NAME_LEN

struct soundfont_open_parm {};


/*
 * raw voice information record
 */

/* wave table envelope & effect parameters to control EMU8000 */
struct soundfont_voice_parm {};


/* wave table parameters: 92 bytes */
struct soundfont_voice_info {};


/* instrument info header: 4 bytes */
struct soundfont_voice_rec_hdr {};


/*
 * sample wave information
 */

/* wave table sample header: 32 bytes */
struct soundfont_sample_info {};


/*
 * voice preset mapping (aliasing)
 */

struct soundfont_voice_map {};


/*
 * ioctls for hwdep
 */

#define SNDRV_EMUX_HWDEP_NAME

#define SNDRV_EMUX_VERSION

struct snd_emux_misc_mode {};

#define SNDRV_EMUX_IOCTL_VERSION
#define SNDRV_EMUX_IOCTL_LOAD_PATCH
#define SNDRV_EMUX_IOCTL_RESET_SAMPLES
#define SNDRV_EMUX_IOCTL_REMOVE_LAST_SAMPLES
#define SNDRV_EMUX_IOCTL_MEM_AVAIL
#define SNDRV_EMUX_IOCTL_MISC_MODE

#endif /* __SOUND_SFNT_INFO_H */