Messages in this thread Patch in this message | | | From | (Alan Cox) | Subject | Re: 2.1.110 wavefront code missing definitions | Date | Wed, 22 Jul 1998 00:52:33 +0100 (BST) |
| |
> It looks like 2.1.110 is missing declarations for the > symbols SAMPLE_TYPE_WAVEFRONT and WAVEFRONT_PATCH, preventing > the wavefront driver module from compiling. I defined these > symbols in include/linux/soundcard.h as arbitrary numbers that > look like that are in line with similar symbol names for other > sound drivers; however, I doubt my numbers are correct.
Ah I screwed that up dicing diffs for Linus.
diff -u --new-file --recursive --exclude-from ../exclude linux.vanilla/include/linux/soundcard.h linux/include/linux/soundcard.h --- linux.vanilla/include/linux/soundcard.h Fri Jul 17 02:12:17 1998 +++ linux/include/linux/soundcard.h Tue Jul 21 17:04:58 1998 @@ -193,12 +193,16 @@ * The following patch_info structure has been designed to support * Gravis UltraSound. It tries to be universal format for uploading * sample based patches but is probably too limited. + * + * (PBD) As Hannu guessed, the GUS structure is too limited for + * the WaveFront, but this is the right place for a constant definition. */ struct patch_info { unsigned short key; /* Use WAVE_PATCH here */ -#define WAVE_PATCH _PATCHKEY(0x04) -#define GUS_PATCH WAVE_PATCH +#define WAVE_PATCH _PATCHKEY(0x04) +#define GUS_PATCH WAVE_PATCH +#define WAVEFRONT_PATCH _PATCHKEY(0x06) short device_no; /* Synthesizer number */ short instr_no; /* Midi pgm# */ @@ -476,6 +480,7 @@ #define SAMPLE_TYPE_BASIC 0x10 #define SAMPLE_TYPE_GUS SAMPLE_TYPE_BASIC +#define SAMPLE_TYPE_WAVEFRONT 0x11 int perc_mode; /* No longer supported */ int nr_voices; - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html
| |