Trever Adams wrote:
>
> Woah, this new driver is FAAAAAR worse. IT now flies through the second
> numbers in xmms all the time (no output), instead of just every so
> often. It used to be all I had to do was stop playback for a while and
> then restart it and it would work.
>
> Trever
Yea, I know that. I made a mistake in setting sample rate for Trident 4D NX.
here is the patch.
Ollie
diff -urbBN linux-2.3.42/drivers/sound/trident.c linux-2.3.42-sis7018/drivers/sound/trident.c
--- linux-2.3.42/drivers/sound/trident.c Wed Feb 2 08:42:00 2000
+++ linux-2.3.42-sis7018/drivers/sound/trident.c Tue Feb 1 16:55:54 2000
@@ -29,6 +29,8 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
* History
+ * v0.11.1 Jan 28 2000 Ollie Lho
+ * small bug in setting sample rate for 4d-nx (reported by Aaron)
* v0.11 Jan 27 2000 Ollie Lho
* DMA bug, scheduler latency, second try
* v0.10 Jan 24 2000 Ollie Lho
@@ -90,7 +92,7 @@
#undef DEBUG
-#define DRIVER_VERSION "0.11"
+#define DRIVER_VERSION "0.11.1"
/* magic numbers to protect our data structures */
#define TRIDENT_CARD_MAGIC 0x5072696E /* "Prin" */
@@ -527,7 +529,7 @@
break;
case PCI_DEVICE_ID_TRIDENT_4DWAVE_NX:
data[0] = (channel->delta << 24);
- data[2] = ((channel->delta << 24) & 0xff000000) | (channel->eso & 0x00ffffff);
+ data[2] = ((channel->delta << 16) & 0xff000000) | (channel->eso & 0x00ffffff);
data[3] = channel->fm_vol & 0xffff;
break;
default:
-
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.tux.org/lkml/
This archive was generated by hypermail 2b29 : Mon Feb 07 2000 - 21:00:07 EST