#ifndef DECODEDNET_H
#define DECODEDNET_H

#include "inttypes.h"
#include "a52.h"

/* internal globals */
typedef struct {
	a52_state_t *state;

	sample_t level;
	sample_t bias;

	int bitrate;
	int flags;
} Real_internal;

/* prototypes */
static int decode  (Real_internal *global, unsigned char *in, signed short *out, int *freq, int chans);

#endif /* !DECODEDNET_H */
