RetroArch
Classes | Macros | Typedefs | Functions
flac.h File Reference
#include <stdint.h>
#include "libchdr_zlib.h"
#include "FLAC/ordinals.h"
#include "FLAC/stream_decoder.h"
Include dependency graph for flac.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _flac_decoder
 
struct  _cdfl_codec_data
 

Macros

#define __FLAC_H__
 

Typedefs

typedef struct _flac_decoder flac_decoder
 
typedef struct _cdfl_codec_data cdfl_codec_data
 

Functions

void flac_decoder_init (flac_decoder *decoder)
 
void flac_decoder_free (flac_decoder *decoder)
 
int flac_decoder_reset (flac_decoder *decoder, uint32_t sample_rate, uint8_t num_channels, uint32_t block_size, const void *buffer, uint32_t length)
 
int flac_decoder_decode_interleaved (flac_decoder *decoder, int16_t *samples, uint32_t num_samples, int swap_endian)
 
uint32_t flac_decoder_finish (flac_decoder *decoder)
 
chd_error cdfl_codec_init (void *codec, uint32_t hunkbytes)
 
void cdfl_codec_free (void *codec)
 
chd_error cdfl_codec_decompress (void *codec, const uint8_t *src, uint32_t complen, uint8_t *dest, uint32_t destlen)
 

Macro Definition Documentation

◆ __FLAC_H__

#define __FLAC_H__

Typedef Documentation

◆ cdfl_codec_data

◆ flac_decoder

typedef struct _flac_decoder flac_decoder

Function Documentation

◆ cdfl_codec_decompress()

chd_error cdfl_codec_decompress ( void codec,
const uint8_t src,
uint32_t  complen,
uint8_t dest,
uint32_t  destlen 
)
Here is the call graph for this function:

◆ cdfl_codec_free()

void cdfl_codec_free ( void codec)
Here is the call graph for this function:

◆ cdfl_codec_init()

chd_error cdfl_codec_init ( void codec,
uint32_t  hunkbytes 
)
Here is the call graph for this function:

◆ flac_decoder_decode_interleaved()

int flac_decoder_decode_interleaved ( flac_decoder decoder,
int16_t samples,
uint32_t  num_samples,
int  swap_endian 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ flac_decoder_finish()

uint32_t flac_decoder_finish ( flac_decoder decoder)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ flac_decoder_free()

void flac_decoder_free ( flac_decoder decoder)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ flac_decoder_init()

void flac_decoder_init ( flac_decoder decoder)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ flac_decoder_reset()

int flac_decoder_reset ( flac_decoder decoder,
uint32_t  sample_rate,
uint8_t  num_channels,
uint32_t  block_size,
const void buffer,
uint32_t  length 
)
Here is the call graph for this function:
Here is the caller graph for this function: