From e8094c43223891ff338a21d856cec37b6b80ae40 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Fri, 19 Jan 2007 18:36:48 +0100 Subject: [PATCH] Update emu10k1.h for new version Updated emu10k1.h for newer version. The size of emu10k1_fx8010_control_gpr_t is changed. The apps need to issue SNDRV_EMU10K1_IOCTL_PVERSION first to switch to the new ABI. --- include/sound/emu10k1.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/sound/emu10k1.h b/include/sound/emu10k1.h index 6ff86c57..befd6a47 100644 --- a/include/sound/emu10k1.h +++ b/include/sound/emu10k1.h @@ -280,6 +280,7 @@ typedef struct { unsigned int min; /* minimum range */ unsigned int max; /* maximum range */ unsigned int translation; /* translation type (EMU10K1_GPR_TRANSLATION*) */ + unsigned int *tlv; } emu10k1_fx8010_control_gpr_t; typedef struct { @@ -338,6 +339,7 @@ typedef struct { #define SNDRV_EMU10K1_IOCTL_TRAM_PEEK _IOWR('H', 0x22, emu10k1_fx8010_tram_t) #define SNDRV_EMU10K1_IOCTL_PCM_POKE _IOW ('H', 0x30, emu10k1_fx8010_pcm_t) #define SNDRV_EMU10K1_IOCTL_PCM_PEEK _IOWR('H', 0x31, emu10k1_fx8010_pcm_t) +#define SNDRV_EMU10K1_IOCTL_PVERSION _IOR ('H', 0x40, int) #define SNDRV_EMU10K1_IOCTL_STOP _IO ('H', 0x80) #define SNDRV_EMU10K1_IOCTL_CONTINUE _IO ('H', 0x81) #define SNDRV_EMU10K1_IOCTL_ZERO_TRAM_COUNTER _IO ('H', 0x82) -- 2.47.1