MPD: GluePcmResampler Class Reference

MPD 0.20.18

Public Member Functions
GluePcmResampler Class Reference

A glue class that integrates a PcmResampler and automatically converts source data to the sample format required by the PcmResampler instance. More...

`#include <GlueResampler.hxx>`

## Public Member Functions
| GluePcmResampler ()
| ~GluePcmResampler ()
void | Open (AudioFormat src_format, unsigned new_sample_rate)
void | Close ()
SampleFormat | GetOutputSampleFormat () const
void | Reset ()
ConstBuffer< void > | Resample (ConstBuffer< void > src)

## Detailed Description

A glue class that integrates a PcmResampler and automatically converts source data to the sample format required by the PcmResampler instance.

Definition at line 35 of file GlueResampler.hxx.

## Constructor & Destructor Documentation

## ◆ GluePcmResampler()

GluePcmResampler::GluePcmResampler | ( |  | ) |

## ◆ ~GluePcmResampler()

GluePcmResampler::~GluePcmResampler | ( |  | ) |

## Member Function Documentation

## ◆ Close()

void GluePcmResampler::Close | ( |  | ) |

## ◆ GetOutputSampleFormat()

SampleFormat GluePcmResampler::GetOutputSampleFormat | ( |  | ) | const
| inline

Definition at line 54 of file GlueResampler.hxx.

## ◆ Open()

void GluePcmResampler::Open | ( | AudioFormat | src_format,
|  | unsigned | new_sample_rate
| ) |  |

## ◆ Resample()

ConstBuffer<void> GluePcmResampler::Resample | ( | ConstBuffer< void > | src | ) |

## ◆ Reset()

void GluePcmResampler::Reset | ( |  | ) |

See also
  PcmResampler::Reset()

The documentation for this class was generated from the following file:

- pcm/GlueResampler.hxx