From: Takashi Iwai Date: Fri, 19 Jan 2007 17:36:48 +0000 (+0100) Subject: Update emu10k1.h for new version X-Git-Tag: v1.0.14rc3~6 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=e8094c43223891ff338a21d856cec37b6b80ae40;p=alsa-lib.git 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. --- 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)