⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 audio_class.patch

📁 ISP 1761 usb host driver for linux
💻 PATCH
字号:
diff -Naur linux-2.6.20_old/sound/usb/usbaudio.c linux-2.6.20_new/sound/usb/usbaudio.c--- linux-2.6.20_old/sound/usb/usbaudio.c	2007-02-05 02:44:54.000000000 +0800+++ linux-2.6.20_new/sound/usb/usbaudio.c	2007-05-14 15:11:15.000000000 +0800@@ -68,7 +68,7 @@ static int enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP;	/* Enable this card */ static int vid[SNDRV_CARDS] = { [0 ... (SNDRV_CARDS-1)] = -1 }; /* Vendor ID for this card */ static int pid[SNDRV_CARDS] = { [0 ... (SNDRV_CARDS-1)] = -1 }; /* Product ID for this card */-static int nrpacks = 8;		/* max. number of packets per urb */+static int nrpacks = 2;		/* max. number of packets per urb */ static int async_unlink = 1; static int device_setup[SNDRV_CARDS]; /* device parameter for this card*/ @@ -102,8 +102,8 @@  #define MAX_PACKS	20 #define MAX_PACKS_HS	(MAX_PACKS * 8)	/* in high speed mode */-#define MAX_URBS	8-#define SYNC_URBS	4	/* always four urbs for sync */+#define MAX_URBS	2+#define SYNC_URBS	1	/* always four urbs for sync */ #define MIN_PACKS_URB	1	/* minimum 1 packet per urb */  struct audioformat {

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -