Miam-Player  0.8.0
A nice music player
MediaIO_p.h
Go to the documentation of this file.
1 /******************************************************************************
2  QtAV: Multimedia framework based on Qt and FFmpeg
3  Copyright (C) 2012-2016 Wang Bin <wbsecg1@gmail.com>
4 
5 * This file is part of QtAV (from 2014)
6 
7  This library is free software; you can redistribute it and/or
8  modify it under the terms of the GNU Lesser General Public
9  License as published by the Free Software Foundation; either
10  version 2.1 of the License, or (at your option) any later version.
11 
12  This library is distributed in the hope that it will be useful,
13  but WITHOUT ANY WARRANTY; without even the implied warranty of
14  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15  Lesser General Public License for more details.
16 
17  You should have received a copy of the GNU Lesser General Public
18  License along with this library; if not, write to the Free Software
19  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 ******************************************************************************/
21 
22 #ifndef QTAV_MediaIO_P_H
23 #define QTAV_MediaIO_P_H
24 
25 #include "QtAV/QtAV_Global.h"
26 #include "QtAV/private/AVCompat.h"
27 #include <QtCore/QString>
28 #include "QtAV/MediaIO.h"
29 
30 namespace QtAV {
31 
32 class MediaIO;
34 {
35 public:
37  : ctx(0)
38  , mode(MediaIO::Read)
39  {}
40  // TODO: how to manage ctx?
43  QString url;
44 };
45 
46 } //namespace QtAV
47 #endif // QTAV_MediaIO_P_H
QString url
Definition: MediaIO_p.h:43
AccessMode
Definition: MediaIO.h:50
#define Q_AV_PRIVATE_EXPORT
Definition: QtAV_Global.h:43
MediaIO::AccessMode mode
Definition: MediaIO_p.h:42
Definition: MediaIO.h:43
MediaIOPrivate()
Definition: MediaIO_p.h:36
Definition: dptr.h:123
AVIOContext * ctx
Definition: MediaIO_p.h:41
Definition: MediaIO_p.h:33
AudioOutput ao; ao.setAudioFormat(fmt); ao.open(); while (has_data) { data = read_data(ao->bufferSize...
Definition: AudioDecoder.h:31
Definition: avio.h:147