Merged 04bd883b65 from master

This commit is contained in:
Fred Gleason
2015-09-15 08:06:20 -04:00
103 changed files with 1645 additions and 205 deletions

1
cae/.gitignore vendored
View File

@@ -1 +0,0 @@
caed

View File

@@ -2006,6 +2006,11 @@ void MainObject::ProbeCaps(RDStation *station)
station->setHaveCapability(RDStation::HaveTwoLame,LoadTwoLame());
station->setHaveCapability(RDStation::HaveMpg321,LoadMad());
//
// MP4 Decoder
//
station->setHaveCapability(RDStation::HaveMp4Decode,CheckMp4Decode());
#ifdef HPI
station->setDriverVersion(RDStation::Hpi,hpiVersion());
#else
@@ -2062,6 +2067,17 @@ bool MainObject::CheckLame()
}
bool MainObject::CheckMp4Decode()
{
#ifdef HAVE_MP4_LIBS
return (dlopen("libfaad.so",RTLD_LAZY)!=NULL)&&
(dlopen("libmp4v2.so",RTLD_LAZY)!=NULL);
#else
return false;
#endif // HAVE_MP4_LIBS
}
bool MainObject::LoadTwoLame()
{
#ifdef HAVE_TWOLAME

View File

@@ -358,6 +358,7 @@ class MainObject : public QObject
#endif // ALSA
bool CheckLame();
bool CheckMp4Decode();
//
// TwoLAME Encoder