|
Sound Open Firmware
|
Module TLV parameters container - used for both config types. More...
#include <generic.h>
Data Fields | |
| uint32_t | id |
| Specifies the unique id of a parameter. | |
| uint32_t | size |
| The size of whole parameter - id + size + data. | |
| int32_t | data [] |
| A pointer to memory where config is stored. | |
Module TLV parameters container - used for both config types.
For example if one want to set the sample_rate to 16 [kHz] and this parameter was assigned to id 0x01, its max size is four bytes then the configuration filed should look like this (note little-endian format): 0x01 0x00 0x00 0x00, 0x0C 0x00 0x00 0x00, 0x10 0x00 0x00 0x00.
| int32_t module_param::data[] |
A pointer to memory where config is stored.
| uint32_t module_param::id |
Specifies the unique id of a parameter.
For example the parameter sample_rate may have an id of 0x01.
| uint32_t module_param::size |
The size of whole parameter - id + size + data.