1
/***************************************************************************
2
copyright : (C) 2006 by Martin Aumueller
3
email : aumuell@reserv.at
4
***************************************************************************/
6
/***************************************************************************
7
* This library is free software; you can redistribute it and/or modify *
8
* it under the terms of the GNU Lesser General Public License version *
9
* 2.1 as published by the Free Software Foundation. *
11
* This library is distributed in the hope that it will be useful, but *
12
* WITHOUT ANY WARRANTY; without even the implied warranty of *
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
14
* Lesser General Public License for more details. *
16
* You should have received a copy of the GNU Lesser General Public *
17
* License along with this library; if not, write to the Free Software *
18
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, *
20
***************************************************************************/
22
#include "wavfiletyperesolver.h"
28
TagLib::File *WavFileTypeResolver::createFile(TagLib::FileName fileName,
30
TagLib::AudioProperties::ReadStyle propertiesStyle) const
32
if(CheckExtension(fileName, ".wav"))
34
TagLib::Wav::File *f = new TagLib::Wav::File(fileName, readProperties, propertiesStyle);