[alsa-devel] Backported sbxfi driver (UNTESTED!)

Takashi Iwai tiwai at suse.de
Thu Oct 16 12:03:45 CEST 2008


At Wed, 15 Oct 2008 22:54:18 +0400,
Alexey Bazhin wrote:
> 
> [  376.405480] SBXFI: SET TIMER TICKS = 4096
...
> [  376.490861] SBXFI: IRQ = 0x500

So this is twice as the expected period (4096/96000 = 42ms).
How about the patch below?

diff --git a/sound/pci/sbxfi/sbxfi.c b/sound/pci/sbxfi/sbxfi.c
index d6b5b34..dbd23ae 100644
--- a/sound/pci/sbxfi/sbxfi.c
+++ b/sound/pci/sbxfi/sbxfi.c
@@ -100,7 +100,7 @@ enum {
 #define SBXFI_PAGE_SIZE		4096
 #define SBXFI_MAX_BUFFER	(SBXFI_TLB_PAGES * SBXFI_PAGE_SIZE)
 #define SBXFI_MAX_SRCS		128	/* 256 / 2 */
-#define SBXFI_TIMER_FREQ	96000
+#define SBXFI_TIMER_FREQ	48000
 /* FIXME: which mask? */
 /* #define SBXFI_DMA_MASK		DMA_32BIT_MASK */
 #define SBXFI_DMA_MASK		DMA_28BIT_MASK


Takashi


More information about the Alsa-devel mailing list