Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/isa Increase max sampling rate on SB16. It seems al...



details:   https://anonhg.NetBSD.org/src/rev/3e433cecee3c
branches:  trunk
changeset: 520281:3e433cecee3c
user:      augustss <augustss%NetBSD.org@localhost>
date:      Sun Jan 06 20:24:12 2002 +0000

description:
Increase max sampling rate on SB16.  It seems almost all models supports it.

diffstat:

 sys/dev/isa/sbdsp.c |  20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)

diffs (49 lines):

diff -r 59dc7014a4b9 -r 3e433cecee3c sys/dev/isa/sbdsp.c
--- a/sys/dev/isa/sbdsp.c       Sun Jan 06 20:23:55 2002 +0000
+++ b/sys/dev/isa/sbdsp.c       Sun Jan 06 20:24:12 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sbdsp.c,v 1.108 2001/11/13 08:01:30 lukem Exp $        */
+/*     $NetBSD: sbdsp.c,v 1.109 2002/01/06 20:24:12 augustss Exp $     */
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -81,7 +81,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sbdsp.c,v 1.108 2001/11/13 08:01:30 lukem Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sbdsp.c,v 1.109 2002/01/06 20:24:12 augustss Exp $");
 
 #include "midi.h"
 #include "mpu.h"
@@ -187,11 +187,11 @@
  { SB_JAZZ,1,16,22727,45454,SB_DSP_HS_OUTPUT,SB_DSP_HALT  ,SB_DSP_CONT  ,JAZZ16_RECORD_MONO },
  { SB_JAZZ,1,16, 4000,22727,SB_DSP_WDMA_LOOP,SB_DSP_HALT  ,SB_DSP_CONT  ,JAZZ16_RECORD_MONO },
  { SB_JAZZ,2,16,11025,22727,SB_DSP_HS_OUTPUT,SB_DSP_HALT  ,SB_DSP_CONT  ,JAZZ16_RECORD_STEREO },
- { SB_16,  1, 8, 5000,45000,SB_DSP16_WDMA_8 ,SB_DSP_HALT  ,SB_DSP_CONT  },
- { SB_16,  2, 8, 5000,45000,SB_DSP16_WDMA_8 ,SB_DSP_HALT  ,SB_DSP_CONT  },
+ { SB_16,  1, 8, 5000,49000,SB_DSP16_WDMA_8 ,SB_DSP_HALT  ,SB_DSP_CONT  },
+ { SB_16,  2, 8, 5000,49000,SB_DSP16_WDMA_8 ,SB_DSP_HALT  ,SB_DSP_CONT  },
 #define PLAY16 15 /* must be the index of the next entry in the table */
- { SB_16,  1,16, 5000,45000,SB_DSP16_WDMA_16,SB_DSP16_HALT,SB_DSP16_CONT},
- { SB_16,  2,16, 5000,45000,SB_DSP16_WDMA_16,SB_DSP16_HALT,SB_DSP16_CONT},
+ { SB_16,  1,16, 5000,49000,SB_DSP16_WDMA_16,SB_DSP16_HALT,SB_DSP16_CONT},
+ { SB_16,  2,16, 5000,49000,SB_DSP16_WDMA_16,SB_DSP16_HALT,SB_DSP16_CONT},
  { -1 }
 };
 static struct sbmode sbrmodes[] = {
@@ -208,10 +208,10 @@
  { SB_JAZZ,1,16,22727,45454,SB_DSP_HS_INPUT ,SB_DSP_HALT  ,SB_DSP_CONT  ,JAZZ16_RECORD_MONO },
  { SB_JAZZ,1,16, 4000,22727,SB_DSP_RDMA_LOOP,SB_DSP_HALT  ,SB_DSP_CONT  ,JAZZ16_RECORD_MONO },
  { SB_JAZZ,2,16,11025,22727,SB_DSP_HS_INPUT ,SB_DSP_HALT  ,SB_DSP_CONT  ,JAZZ16_RECORD_STEREO },
- { SB_16,  1, 8, 5000,45000,SB_DSP16_RDMA_8 ,SB_DSP_HALT  ,SB_DSP_CONT  },
- { SB_16,  2, 8, 5000,45000,SB_DSP16_RDMA_8 ,SB_DSP_HALT  ,SB_DSP_CONT  },
- { SB_16,  1,16, 5000,45000,SB_DSP16_RDMA_16,SB_DSP16_HALT,SB_DSP16_CONT},
- { SB_16,  2,16, 5000,45000,SB_DSP16_RDMA_16,SB_DSP16_HALT,SB_DSP16_CONT},
+ { SB_16,  1, 8, 5000,49000,SB_DSP16_RDMA_8 ,SB_DSP_HALT  ,SB_DSP_CONT  },
+ { SB_16,  2, 8, 5000,49000,SB_DSP16_RDMA_8 ,SB_DSP_HALT  ,SB_DSP_CONT  },
+ { SB_16,  1,16, 5000,49000,SB_DSP16_RDMA_16,SB_DSP16_HALT,SB_DSP16_CONT},
+ { SB_16,  2,16, 5000,49000,SB_DSP16_RDMA_16,SB_DSP16_HALT,SB_DSP16_CONT},
  { -1 }
 };
 



Home | Main Index | Thread Index | Old Index