?? audio_class.patch
字號(hào):
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 {
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -