Microchip® Advanced Software Framework

mad_decoder Struct Reference

#include <mad.h>

Data Fields

struct {
   int   in
 
   int   out
 
   long   pid
 
async
 
void * cb_data
 
enum mad_flow(* error_func )(void *, struct mad_stream *, struct mad_frame *)
 
enum mad_flow(* filter_func )(void *, struct mad_stream const *, struct mad_frame *)
 
enum mad_flow(* header_func )(void *, struct mad_header const *)
 
enum mad_flow(* input_func )(void *, struct mad_stream *)
 
enum mad_flow(* message_func )(void *, void *, unsigned int *)
 
enum mad_decoder_mode mode
 
int options
 
enum mad_flow(* output_func )(void *, struct mad_header const *, struct mad_pcm *)
 
struct {
   struct mad_frame   frame
 
   struct mad_stream   stream
 
   struct mad_synth   synth
 
sync
 

struct { ... } mad_decoder::async
void* mad_decoder::cb_data
enum mad_flow(* mad_decoder::error_func)(void *, struct mad_stream *, struct mad_frame *)
enum mad_flow(* mad_decoder::filter_func)(void *, struct mad_stream const *, struct mad_frame *)
struct mad_frame mad_decoder::frame
enum mad_flow(* mad_decoder::header_func)(void *, struct mad_header const *)
int mad_decoder::in
enum mad_flow(* mad_decoder::input_func)(void *, struct mad_stream *)
enum mad_flow(* mad_decoder::message_func)(void *, void *, unsigned int *)
enum mad_decoder_mode mad_decoder::mode
int mad_decoder::options
int mad_decoder::out
enum mad_flow(* mad_decoder::output_func)(void *, struct mad_header const *, struct mad_pcm *)
long mad_decoder::pid
struct mad_stream mad_decoder::stream
struct { ... } * mad_decoder::sync
struct mad_synth mad_decoder::synth