diff options
| author | HiFiPhile <[email protected]> | 2025-09-28 17:17:10 +0200 |
|---|---|---|
| committer | Mengsk <[email protected]> | 2025-09-30 15:51:50 +0200 |
| commit | 9637a2006bdfa77911cd274f0b9cff7de7ae54e9 (patch) | |
| tree | 3791cc14e05e6ff12b7d8934ec08e32450477e0a /examples/device/uac2_headset/src/main.c | |
| parent | 78121a8d3f273420f8a2798364c2dd2fb9bb700f (diff) | |
More descriptors working
Signed-off-by: HiFiPhile <[email protected]>
Diffstat (limited to 'examples/device/uac2_headset/src/main.c')
| -rw-r--r-- | examples/device/uac2_headset/src/main.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/device/uac2_headset/src/main.c b/examples/device/uac2_headset/src/main.c index 602225df5..6cfab946b 100644 --- a/examples/device/uac2_headset/src/main.c +++ b/examples/device/uac2_headset/src/main.c @@ -387,14 +387,14 @@ void audio_control_task(void) { } // 6.1 Interrupt Data Message - const audio20_interrupt_data_t data = { + const audio_interrupt_data_t data = {.v2 = { .bInfo = 0, // Class-specific interrupt, originated from an interface - .bAttribute = AUDIO20_CS_REQ_CUR, // Caused by current settings + .bAttribute = AUDIO20_CS_REQ_CUR, // Caused by current settings .wValue_cn_or_mcn = 0, // CH0: master volume - .wValue_cs = AUDIO20_FU_CTRL_VOLUME, // Volume change + .wValue_cs = AUDIO20_FU_CTRL_VOLUME, // Volume change .wIndex_ep_or_int = 0, // From the interface itself .wIndex_entity_id = UAC2_ENTITY_SPK_FEATURE_UNIT,// From feature unit - }; + }}; tud_audio_int_write(&data); } |
