Re: Backported sbxfi driver (UNTESTED!)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux