MPD: AudioCompress/compress.h File Reference

MPD 0.20.15

Data Structures | Functions
compress.h File Reference
`#include <stdint.h>`
Include dependency graph for compress.h:

Go to the source code of this file.

## Data Structures
struct | CompressorConfig
| Configuration values for the compressor object. More...

## Functions
struct Compressor * | Compressor_new (unsigned int history)
| Create a new compressor (use history value of 0 for default) More...
void | Compressor_delete (struct Compressor *)
| Delete a compressor. More...
void | Compressor_setHistory (struct Compressor *, unsigned int history)
| Set the history length. More...
struct CompressorConfig * | Compressor_getConfig (struct Compressor *)
| Get the configuration for a compressor. More...
void | Compressor_Process_int16 (struct Compressor *, int16_t *data, unsigned int count)
| Process 16-bit signed data. More...

## Function Documentation

## ◆ Compressor_delete()

void Compressor_delete | ( | struct Compressor * |  | ) |

Delete a compressor.

## ◆ Compressor_getConfig()

struct CompressorConfig* Compressor_getConfig | ( | struct Compressor * |  | ) |

Get the configuration for a compressor.

## ◆ Compressor_new()

struct Compressor* Compressor_new | ( | unsigned int | history | ) |

Create a new compressor (use history value of 0 for default)

## ◆ Compressor_Process_int16()

void Compressor_Process_int16 | ( | struct Compressor * | ,
|  | int16_t * | data,
|  | unsigned int | count
| ) |  |

Process 16-bit signed data.

## ◆ Compressor_setHistory()

void Compressor_setHistory | ( | struct Compressor * | ,
|  | unsigned int | history
| ) |  |

Set the history length.