This is the header file for the network buffer source.
More...
|
typedef int32_t | audio_callback_t(int8_t *buffer, uint32_t size) |
| Audio callback function pointer for read.
|
|
|
int32_t | netbufsrc_init (StreamElement *element) |
| this function initializes the netbuf source element and source pad. all the pad's handlers are intialized.
|
|
◆ audio_callback_t
typedef int32_t audio_callback_t(int8_t *buffer, uint32_t size) |
- Parameters
-
buffer | Buffer pointer |
size | Buffer size |
- Returns
- typedef
◆ netbufsrc_init()
int32_t netbufsrc_init |
( |
StreamElement * | element | ) |
|
- Parameters
-
element | pointer to element |
- Returns
- StreamReturnType
- Return values
-
STREAM_OK | if successful |
STREAM_ERR_INVALID_ARGS | means invalid arguments |