#include <AudioResampler.h>
virtual QtAV::AudioResampler::~AudioResampler |
( |
| ) |
|
|
virtual |
virtual bool QtAV::AudioResampler::convert |
( |
const quint8 ** |
data | ) |
|
|
virtual |
static AudioResampler* QtAV::AudioResampler::create |
( |
const char * |
name | ) |
|
|
static |
create Create resampler from name
- Parameters
-
name | can be "FFmpeg", "Libav" |
const AudioFormat& QtAV::AudioResampler::inAudioFormat |
( |
| ) |
const |
next
- Parameters
-
id | NULL to get the first id address |
- Returns
- address of id or NULL if not found/end
const AudioFormat& QtAV::AudioResampler::outAudioFormat |
( |
| ) |
const |
QByteArray QtAV::AudioResampler::outData |
( |
| ) |
const |
int QtAV::AudioResampler::outSamplesPerChannel |
( |
| ) |
const |
virtual bool QtAV::AudioResampler::prepare |
( |
| ) |
|
|
virtual |
prepare Check whether the parameters are supported and setup the resampler setIn/OutXXX will call prepare() if format is changed
template<class C >
static bool QtAV::AudioResampler::Register |
( |
AudioResamplerId |
id, |
|
|
const char * |
name |
|
) |
| |
|
inlinestatic |
static void QtAV::AudioResampler::registerAll |
( |
| ) |
|
|
static |
void QtAV::AudioResampler::setInAudioFormat |
( |
const AudioFormat & |
format | ) |
|
void QtAV::AudioResampler::setInChannelLayout |
( |
qint64 |
icl | ) |
|
void QtAV::AudioResampler::setInChannels |
( |
int |
channels | ) |
|
void QtAV::AudioResampler::setInSampesPerChannel |
( |
int |
samples | ) |
|
void QtAV::AudioResampler::setInSampleFormat |
( |
int |
isf | ) |
|
void QtAV::AudioResampler::setInSampleRate |
( |
int |
isr | ) |
|
void QtAV::AudioResampler::setOutAudioFormat |
( |
const AudioFormat & |
format | ) |
|
void QtAV::AudioResampler::setOutChannelLayout |
( |
qint64 |
ocl | ) |
|
void QtAV::AudioResampler::setOutChannels |
( |
int |
channels | ) |
|
void QtAV::AudioResampler::setOutSampleFormat |
( |
int |
osf | ) |
|
void QtAV::AudioResampler::setOutSampleRate |
( |
int |
osr | ) |
|
void QtAV::AudioResampler::setSpeed |
( |
qreal |
speed | ) |
|
qreal QtAV::AudioResampler::speed |
( |
| ) |
const |
The documentation for this class was generated from the following file: