#include <fileinformation.h>
Public Member Functions | |
FileInformation () | |
~FileInformation () | |
float | getSamplingRate () const |
QString | getExtension () const |
QMap< int, QValueList< int > > | getChannelMapping () |
void | setSamplingRate (float rate) |
void | setExtension (QString ext) |
void | setChannelMapping (QMap< int, QValueList< int > > &mapping) |
FileInformation::FileInformation | ( | ) | [inline] |
Constructor.
FileInformation::~FileInformation | ( | ) | [inline] |
Destructor.
float FileInformation::getSamplingRate | ( | ) | const [inline] |
Gets the file sampling rate.
QString FileInformation::getExtension | ( | ) | const [inline] |
Gets the file extension.
QMap<int, QValueList<int> > FileInformation::getChannelMapping | ( | ) | [inline] |
Gets the mapping between the original channels and the ones in the file.
void FileInformation::setSamplingRate | ( | float | rate | ) | [inline] |
Sets the sampling rate.
void FileInformation::setExtension | ( | QString | ext | ) | [inline] |
Sets the file extension.
ext | file extension. |
void FileInformation::setChannelMapping | ( | QMap< int, QValueList< int > > & | mapping | ) | [inline] |
Sets the mapping between the original channels and the ones in the file.
mapping | the channel mapping map. |