full device name. lower buffer length

This commit is contained in:
awalol
2026-03-26 18:41:57 +08:00
parent 63c15e435c
commit 4ee1aa0b64
3 changed files with 4 additions and 6 deletions
+1 -1
View File
@@ -15,7 +15,7 @@
#define REPORT_SIZE 142 #define REPORT_SIZE 142
#define REPORT_ID 0x32 #define REPORT_ID 0x32
// #define VOLUME_GAIN 2 // #define VOLUME_GAIN 2
#define BUFFER_LENGTH 55 #define BUFFER_LENGTH 48
static WDL_Resampler resampler; static WDL_Resampler resampler;
static uint8_t reportSeqCounter = 0; static uint8_t reportSeqCounter = 0;
+1 -1
View File
@@ -122,7 +122,7 @@
#define CFG_TUD_AUDIO_FUNC_1_EP_OUT_SZ_MAX CFG_TUD_AUDIO_FUNC_1_FORMAT_1_EP_SZ_OUT #define CFG_TUD_AUDIO_FUNC_1_EP_OUT_SZ_MAX CFG_TUD_AUDIO_FUNC_1_FORMAT_1_EP_SZ_OUT
#define CFG_TUD_AUDIO_FUNC_1_EP_IN_SZ_MAX 196 #define CFG_TUD_AUDIO_FUNC_1_EP_IN_SZ_MAX 196
#define CFG_TUD_AUDIO_FUNC_1_EP_OUT_SW_BUF_SZ (6 * CFG_TUD_AUDIO_FUNC_1_EP_OUT_SZ_MAX) #define CFG_TUD_AUDIO_FUNC_1_EP_OUT_SW_BUF_SZ (3 * CFG_TUD_AUDIO_FUNC_1_EP_OUT_SZ_MAX)
#define CFG_TUD_AUDIO_FUNC_1_EP_IN_SW_BUF_SZ (4 * CFG_TUD_AUDIO_FUNC_1_EP_IN_SZ_MAX) #define CFG_TUD_AUDIO_FUNC_1_EP_IN_SW_BUF_SZ (4 * CFG_TUD_AUDIO_FUNC_1_EP_IN_SZ_MAX)
// Enable OUT EP (speaker) and IN EP (mic) // Enable OUT EP (speaker) and IN EP (mic)
+2 -4
View File
@@ -499,11 +499,9 @@ enum {
static char const *string_desc_arr[] = static char const *string_desc_arr[] =
{ {
(const char[]){0x09, 0x04}, // 0: is supported language is English (0x0409) (const char[]){0x09, 0x04}, // 0: is supported language is English (0x0409)
"TinyUSB", // 1: Manufacturer "Sony Interactive Entertainment", // 1: Manufacturer
"Wireless Controller", // 2: Product "DualSense Wireless Controller", // 2: Product
NULL, // 3: Serials will use unique ID if possible NULL, // 3: Serials will use unique ID if possible
"UAC2 Speaker", // 4: Audio Interface
"UAC1 Speaker", // 5: UAC1 Audio Interface
}; };
static uint16_t _desc_str[60 + 1]; static uint16_t _desc_str[60 + 1];