]> git.sesse.net Git - kdenlive/blob - src/lib/audio/audioInfo.h
Use QLatin1String
[kdenlive] / src / lib / audio / audioInfo.h
1 /*
2 Copyright (C) 2012  Simon A. Eugster (Granjow)  <simon.eu@gmail.com>
3 This file is part of kdenlive. See www.kdenlive.org.
4
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 3 of the License, or
8 (at your option) any later version.
9 */
10
11 #ifndef AUDIOINFO_H
12 #define AUDIOINFO_H
13
14 #include <QList>
15 #include <mlt++/Mlt.h>
16
17 class AudioStreamInfo;
18 class AudioInfo
19 {
20 public:
21     AudioInfo(Mlt::Producer *producer);
22     ~AudioInfo();
23
24     int size() const;
25     AudioStreamInfo const* info(int pos) const;
26
27     void dumpInfo() const;
28
29 private:
30     Mlt::Producer *m_producer;
31     QList<AudioStreamInfo*> m_list;
32 };
33
34 #endif // AUDIOINFO_H