Zephyr API Documentation
3.6.99
A Scalable Open Source RTOS
|
USB Audio Class 2 device public header. More...
#include <zephyr/device.h>
Go to the source code of this file.
Data Structures | |
struct | uac2_ops |
USB Audio 2 application event handlers. More... | |
Macros | |
#define | UAC2_ENTITY_ID(node) |
Functions | |
void | usbd_uac2_set_ops (const struct device *dev, const struct uac2_ops *ops, void *user_data) |
Register USB Audio 2 application callbacks. | |
int | usbd_uac2_send (const struct device *dev, uint8_t terminal, void *data, uint16_t size) |
Send audio data to output terminal. | |
USB Audio Class 2 device public header.
This header describes only class API interaction with application. The audio device itself is modelled with devicetree zephyr,uac2 compatible.
This API is currently considered experimental.
#define UAC2_ENTITY_ID | ( | node | ) |
Send audio data to output terminal.
dev | USB Audio 2 device |
terminal | Output Terminal ID linked to AudioStreaming interface |
data | Buffer containing outgoing data |
size | Number of bytes to send |