From 110cace769332ed7a20c2075f22643abf8d8e6a9 Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Sun, 15 Dec 2013 14:26:23 +0400 Subject: [PATCH] gui/audioplayer.cpp: add m4a extension Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/5d5493e2f5d8eb07205ce01cba731a961e1fe0d0 Author: [CST] Focus Date: 2013-12-15 (Sun, 15 Dec 2013) --- src/gui/audioplayer.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/gui/audioplayer.cpp b/src/gui/audioplayer.cpp index bcfad1eb1..ac0ca1828 100644 --- a/src/gui/audioplayer.cpp +++ b/src/gui/audioplayer.cpp @@ -199,8 +199,11 @@ void CAudioPlayerGui::Init(void) audiofilefilter.addFilter("ogg"); audiofilefilter.addFilter("wav"); audiofilefilter.addFilter("flac"); +#ifdef ENABLE_FFMPEGDEC audiofilefilter.addFilter("aac"); audiofilefilter.addFilter("dts"); + audiofilefilter.addFilter("m4a"); +#endif } m_SMSKeyInput.setTimeout(AUDIOPLAYERGUI_SMSKEY_TIMEOUT); } @@ -1258,7 +1261,9 @@ bool CAudioPlayerGui::openFilebrowser(void) || (files->getType() == CFile::FILE_OGG) || (files->getType() == CFile::FILE_MP3) || (files->getType() == CFile::FILE_WAV) +#ifdef ENABLE_FFMPEGDEC || (files->getType() == CFile::FILE_AAC) +#endif || (files->getType() == CFile::FILE_FLAC) ) {