Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qqnxmediaeventthread_p.h
Go to the documentation of this file.
1// Copyright (C) 2017 QNX Software Systems. All rights reserved.
2// Copyright (C) 2021 The Qt Company
3// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
4
5#ifndef QQNXMEDIAEVENTTHREAD_P_H
6#define QQNXMEDIAEVENTTHREAD_P_H
7
8//
9// W A R N I N G
10// -------------
11//
12// This file is not part of the Qt API. It exists purely as an
13// implementation detail. This header file may change from version to
14// version without notice, or even be removed.
15//
16// We mean it.
17//
18
19#include <QtCore/QThread>
20
21#include <sys/neutrino.h>
22#include <sys/siginfo.h>
23
25
26typedef struct mmr_context mmr_context_t;
27
29{
31
32public:
35
36 void signalRead();
37
38protected:
39 void run() override;
40
43
44private:
45 void shutdown();
46
47 int m_channelId;
48 int m_connectionId;
49 struct sigevent m_mmrEvent;
50 mmr_context_t *m_mmrContext;
51};
52
53QT_END_NAMESPACE
54
55#endif // QQnxMediaEventThread_H
void setInputDeviceId(const QByteArray &id)
void durationChanged(qint64 durationMs)
void setOutputUrl(const QUrl &url)
void setMediaEncoderSettings(const QMediaEncoderSettings &settings)
void actualLocationChanged(const QUrl &location)
mmr_state
@ MMR_STATE_DESTROYED
@ MMR_STATE_PLAYING
@ MMR_STATE_STOPPED
@ MMR_STATE_IDLE
mmr_event_type
@ MMR_EVENT_STATE
@ MMR_EVENT_OVERFLOW
@ MMR_EVENT_INPUT
@ MMR_EVENT_ERROR
@ MMR_EVENT_STATUS
@ MMR_EVENT_TRKPAR
@ MMR_EVENT_PLAYLIST
@ MMR_EVENT_CTXTPAR
@ MMR_EVENT_NONE
@ MMR_EVENT_OTHER
@ MMR_EVENT_OUTPUT
@ MMR_EVENT_METADATA
@ MMR_EVENT_WARNING
const mmr_event_t * mmr_event_get(mmr_context_t *ctxt)
Combined button and popup list for selecting options.
static QByteArray buildDevicePath(const QByteArray &deviceId, const QMediaEncoderSettings &settings)
typedefQT_BEGIN_NAMESPACE struct mmr_context mmr_context_t
const char * objname
mmr_state_t state
mmr_event_type_t type
const strm_dict_t * data
const strm_string_t * pos_obj
const char * pos_str