mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 09:21:09 +02:00
gui/audioplayer.cpp: add m4a extension
Origin commit data
------------------
Commit: 5d5493e2f5
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-12-15 (Sun, 15 Dec 2013)
This commit is contained in:
@@ -199,8 +199,11 @@ void CAudioPlayerGui::Init(void)
|
|||||||
audiofilefilter.addFilter("ogg");
|
audiofilefilter.addFilter("ogg");
|
||||||
audiofilefilter.addFilter("wav");
|
audiofilefilter.addFilter("wav");
|
||||||
audiofilefilter.addFilter("flac");
|
audiofilefilter.addFilter("flac");
|
||||||
|
#ifdef ENABLE_FFMPEGDEC
|
||||||
audiofilefilter.addFilter("aac");
|
audiofilefilter.addFilter("aac");
|
||||||
audiofilefilter.addFilter("dts");
|
audiofilefilter.addFilter("dts");
|
||||||
|
audiofilefilter.addFilter("m4a");
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
m_SMSKeyInput.setTimeout(AUDIOPLAYERGUI_SMSKEY_TIMEOUT);
|
m_SMSKeyInput.setTimeout(AUDIOPLAYERGUI_SMSKEY_TIMEOUT);
|
||||||
}
|
}
|
||||||
@@ -1258,7 +1261,9 @@ bool CAudioPlayerGui::openFilebrowser(void)
|
|||||||
|| (files->getType() == CFile::FILE_OGG)
|
|| (files->getType() == CFile::FILE_OGG)
|
||||||
|| (files->getType() == CFile::FILE_MP3)
|
|| (files->getType() == CFile::FILE_MP3)
|
||||||
|| (files->getType() == CFile::FILE_WAV)
|
|| (files->getType() == CFile::FILE_WAV)
|
||||||
|
#ifdef ENABLE_FFMPEGDEC
|
||||||
|| (files->getType() == CFile::FILE_AAC)
|
|| (files->getType() == CFile::FILE_AAC)
|
||||||
|
#endif
|
||||||
|| (files->getType() == CFile::FILE_FLAC)
|
|| (files->getType() == CFile::FILE_FLAC)
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user