1 /***************************************************************************
2 * Copyright (C) 2012 by Simon Andreas Eugster (simon.eu@gmail.com) *
3 * This file is part of kdenlive. See www.kdenlive.org. *
5 * This program is free software; you can redistribute it and/or modify *
6 * it under the terms of the GNU General Public License as published by *
7 * the Free Software Foundation; either version 2 of the License, or *
8 * (at your option) any later version. *
9 ***************************************************************************/
11 #ifndef AUDIOSTREAMINFO_H
12 #define AUDIOSTREAMINFO_H
14 #include <mlt++/Mlt.h>
20 AudioStreamInfo(Mlt::Producer *producer, int audioStreamIndex);
23 int streamIndex() const;
24 int samplingRate() const;
27 const QString& codecName(bool longName = false) const;
28 const QString& samplingFormat() const;
30 void dumpInfo() const;
33 int m_audioStreamIndex;
39 QString m_codecLongName;
40 QString m_samplingFormat;
44 #endif // AUDIOSTREAMINFO_H