Maestro Audio Framework v 1.7
NXP Semiconductors
Loading...
Searching...
No Matches
netbuf_src.h File Reference

This is the header file for the network buffer source. More...

#include "streamer_element.h"

Data Structures

struct  ElementNetbufSrc
 

Typedefs

typedef int32_t audio_callback_t(int8_t *buffer, uint32_t size)
 Audio callback function pointer for read.
 

Functions

int32_t netbufsrc_init (StreamElement *element)
 this function initializes the netbuf source element and source pad. all the pad's handlers are intialized.
 

Typedef Documentation

◆ audio_callback_t

typedef int32_t audio_callback_t(int8_t *buffer, uint32_t size)
Parameters
bufferBuffer pointer
sizeBuffer size
Returns
typedef

Function Documentation

◆ netbufsrc_init()

int32_t netbufsrc_init ( StreamElement * element)
Parameters
elementpointer to element
Returns
StreamReturnType
Return values
STREAM_OKif successful
STREAM_ERR_INVALID_ARGSmeans invalid arguments