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