]> www.infradead.org Git - linux.git/commitdiff
ALSA: emu10k1: shrink blank space in front of wavetable samples
authorOswald Buddenhagen <oswald.buddenhagen@gmx.de>
Sat, 6 Apr 2024 06:48:29 +0000 (08:48 +0200)
committerTakashi Iwai <tiwai@suse.de>
Sun, 7 Apr 2024 06:35:52 +0000 (08:35 +0200)
There is no need for it to be 32 samples - 3 will do just fine (which is
the interpolator's epsilon). The old size was presumably meant to
compensate for the cache's presence, but we're now handling that
properly.

Signed-off-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
Message-ID: <20240406064830.1029573-17-oswald.buddenhagen@gmx.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/emu10k1/emu10k1_patch.c

index 2a13fb32c1d20633d455a5098268a7bb4904b944..dbfa89435ac2a4363f19b543302e859f4d5572a1 100644 (file)
@@ -16,7 +16,7 @@
 #define BLANK_LOOP_START       4
 #define BLANK_LOOP_END         8
 #define BLANK_LOOP_SIZE                12
-#define BLANK_HEAD_SIZE                32
+#define BLANK_HEAD_SIZE                3
 
 /*
  * allocate a sample block and copy data from userspace