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

This file defines the pad functions used for the decoder element. More...

Functions

uint8_t decoder_src_pad_activation_handler (StreamPad *pad, uint8_t active)
 decoder_src_pad_activation_handler
 
uint8_t decoder_src_pad_event_handler (StreamPad *pad, StreamEvent *event)
 decoder_src_pad_event_handler
 
uint8_t decoder_src_pad_query_handler (StreamPad *pad, StreamQuery *query)
 decoder_src_pad_query_handler
 
uint8_t decoder_sink_pad_activation_handler (StreamPad *pad, uint8_t active)
 decoder_sink_pad_activation_handler
 
uint8_t decoder_sink_pad_event_handler (StreamPad *pad, StreamEvent *event)
 decoder_sink_pad_event_handler
 
FlowReturn decoder_sink_pad_chain_handler (StreamPad *pad, StreamBuffer *buffer)
 decoder_sink_pad_chain_handler
 
int32_t decoder_sink_pad_process_handler (StreamPad *pad)
 decoder_sink_pad_process_handler
 

Function Documentation

◆ decoder_src_pad_activation_handler()

uint8_t decoder_src_pad_activation_handler ( StreamPad * pad,
uint8_t active )

This function is an empty implementation of the src pad activation handler.

Parameters
padpad handle
activeactivate/deactivate pad
Returns
PAD ERROR

◆ decoder_src_pad_event_handler()

uint8_t decoder_src_pad_event_handler ( StreamPad * pad,
StreamEvent * event )

This function is the empty implementation of the src pad event handler.

Parameters
padpad handle
eventevent enumeration
Returns
PAD ERROR

◆ decoder_src_pad_query_handler()

uint8_t decoder_src_pad_query_handler ( StreamPad * pad,
StreamQuery * query )

This function is the empty implementation of the src pad query handler.

Parameters
padpad handle
queryquery
Returns
uint8_t

◆ decoder_sink_pad_activation_handler()

uint8_t decoder_sink_pad_activation_handler ( StreamPad * pad,
uint8_t active )

This function is calls the specified decoder implementation of the sink pad activation handler.

Parameters
padpad handle
activeactivate/deactivate pad
Returns
PAD ERROR

◆ decoder_sink_pad_event_handler()

uint8_t decoder_sink_pad_event_handler ( StreamPad * pad,
StreamEvent * event )

This function is the calls the specified decoder implementation ofthe sink pad event handler.

Parameters
padpad handle
eventevent enumeration
Returns
PAD ERROR

◆ decoder_sink_pad_chain_handler()

FlowReturn decoder_sink_pad_chain_handler ( StreamPad * pad,
StreamBuffer * buffer )

This function calls the specified decoder implementation of the sink pad chain handler. This is used in push mode, to receive data passed from peer.

Parameters
padpad handle
bufferinput buffer
Returns
PAD ERROR

◆ decoder_sink_pad_process_handler()

int32_t decoder_sink_pad_process_handler ( StreamPad * pad)

This function calls the specified decoder implementation of the sink pad process handler. This is used in pull mode, to request data from peer.

Parameters
padpad handle
Returns
PAD ERROR