Set supported input formats for FHG AAC encoder.
This commit is contained in:
parent
326fd32ef6
commit
f47b033953
@ -30,7 +30,7 @@
|
||||
#define VER_LAMEXP_MINOR_LO 4
|
||||
#define VER_LAMEXP_TYPE Beta
|
||||
#define VER_LAMEXP_PATCH 5
|
||||
#define VER_LAMEXP_BUILD 901
|
||||
#define VER_LAMEXP_BUILD 902
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// Tool versions (minimum expected versions!)
|
||||
|
@ -176,6 +176,23 @@ bool FHGAACEncoder::isFormatSupported(const QString &containerType, const QStrin
|
||||
return false;
|
||||
}
|
||||
|
||||
const unsigned int *FHGAACEncoder::supportedChannelCount(void)
|
||||
{
|
||||
static const unsigned int supportedChannels[] = {1, 2, 4, 5, 6, NULL};
|
||||
return supportedChannels;
|
||||
}
|
||||
|
||||
const unsigned int *FHGAACEncoder::supportedSamplerates(void)
|
||||
{
|
||||
static const unsigned int supportedRates[] = {192000, 96000, 48000, 44100, 32000, 24000, 22050, 16000, 12000, 11025, 8000, 6000, NULL};
|
||||
return supportedRates;
|
||||
}
|
||||
|
||||
const unsigned int *FHGAACEncoder::supportedBitdepths(void)
|
||||
{
|
||||
static const unsigned int supportedBPS[] = {16, 24, NULL};
|
||||
return supportedBPS;
|
||||
}
|
||||
|
||||
void FHGAACEncoder::setProfile(int profile)
|
||||
{
|
||||
|
@ -36,6 +36,9 @@ public:
|
||||
virtual bool encode(const QString &sourceFile, const AudioFileModel &metaInfo, const QString &outputFile, volatile bool *abortFlag);
|
||||
virtual bool isFormatSupported(const QString &containerType, const QString &containerProfile, const QString &formatType, const QString &formatProfile, const QString &formatVersion);
|
||||
virtual QString extension(void);
|
||||
virtual const unsigned int *supportedChannelCount(void);
|
||||
virtual const unsigned int *supportedBitdepths(void);
|
||||
virtual const unsigned int *supportedSamplerates(void);
|
||||
|
||||
//Advanced options
|
||||
virtual void setProfile(int profile);
|
||||
|
Loading…
Reference in New Issue
Block a user