Merge remote-tracking branch 'origin/5.6.0' into 5.6
Change-Id: I91fb2886b4ab8f0b9e2e28329cec69dfa2cb5435
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
CXX_MODULE = multimedia
|
||||
TARGET = declarative_audioengine
|
||||
TARGETPATH = QtAudioEngine
|
||||
IMPORT_VERSION = 1.0
|
||||
IMPORT_VERSION = 1.1
|
||||
|
||||
QT += quick qml multimedia-private
|
||||
|
||||
|
||||
@@ -4,10 +4,10 @@ import QtQuick.tooling 1.2
|
||||
// It is used for QML tooling purposes only.
|
||||
//
|
||||
// This file was auto-generated by:
|
||||
// 'qmlplugindump -nonrelocatable QtAudioEngine 1.0'
|
||||
// 'qmlplugindump -nonrelocatable QtAudioEngine 1.1'
|
||||
|
||||
Module {
|
||||
dependencies: []
|
||||
dependencies: ["QtQuick 2.0"]
|
||||
Component {
|
||||
name: "QDeclarativeAttenuationModel"
|
||||
prototype: "QObject"
|
||||
|
||||
@@ -79,17 +79,11 @@ void QDeclarativeAttenuationModel::setName(const QString& name)
|
||||
\inherits Item
|
||||
\preliminary
|
||||
|
||||
This type is part of the \b{QtAudioEngine 1.0} module.
|
||||
|
||||
AttenuationModelLinear must be defined inside \l AudioEngine or be added to it using
|
||||
\l{QtAudioEngine::AudioEngine::addAttenuationModel()}{AudioEngine.addAttenuationModel()}
|
||||
if AttenuationModelLinear is created dynamically.
|
||||
|
||||
\qml
|
||||
import QtQuick 2.0
|
||||
import QtAudioEngine 1.0
|
||||
|
||||
|
||||
Rectangle {
|
||||
color:"white"
|
||||
width: 300
|
||||
@@ -214,17 +208,11 @@ qreal QDeclarativeAttenuationModelLinear::calculateGain(const QVector3D &listene
|
||||
\inherits Item
|
||||
\preliminary
|
||||
|
||||
This type is part of the \b{QtAudioEngine 1.0} module.
|
||||
|
||||
AttenuationModelInverse must be defined inside \l AudioEngine or be added to it using
|
||||
\l{QtAudioEngine::AudioEngine::addAttenuationModel()}{AudioEngine.addAttenuationModel()}
|
||||
if AttenuationModelInverse is created dynamically.
|
||||
|
||||
\qml
|
||||
import QtQuick 2.0
|
||||
import QtAudioEngine 1.0
|
||||
|
||||
|
||||
Rectangle {
|
||||
color:"white"
|
||||
width: 300
|
||||
|
||||
@@ -48,17 +48,12 @@ QT_USE_NAMESPACE
|
||||
\inherits Item
|
||||
\preliminary
|
||||
|
||||
This type is part of the \b{QtAudioEngine 1.0} module.
|
||||
|
||||
An instance of AudioCategory can be accessed through \l {QtAudioEngine::AudioEngine::categories}
|
||||
{AudioEngine.categories} with its unique name and must be defined inside AudioEngine or be added
|
||||
to it using \l{QtAudioEngine::AudioEngine::addAudioCategory()}{AudioEngine.addAudioCategory()} if
|
||||
AudioCategory is created dynamically.
|
||||
|
||||
\qml
|
||||
import QtQuick 2.0
|
||||
import QtAudioEngine 1.0
|
||||
|
||||
Rectangle {
|
||||
color:"white"
|
||||
width: 300
|
||||
|
||||
@@ -57,12 +57,7 @@ QT_BEGIN_NAMESPACE
|
||||
\inherits Item
|
||||
\preliminary
|
||||
|
||||
\c AudioEngine is part of the \b{QtAudioEngine 1.0} module.
|
||||
|
||||
\qml
|
||||
import QtQuick 2.0
|
||||
import QtAudioEngine 1.0
|
||||
|
||||
Rectangle {
|
||||
color:"white"
|
||||
width: 300
|
||||
|
||||
@@ -49,15 +49,10 @@ QT_USE_NAMESPACE
|
||||
\inherits Item
|
||||
\preliminary
|
||||
|
||||
This type is part of the \b{QtAudioEngine 1.0} module.
|
||||
|
||||
AudioListener will have only one global instance and you can either access it through the
|
||||
listener property of AudioEngine:
|
||||
|
||||
\qml
|
||||
import QtQuick 2.0
|
||||
import QtAudioEngine 1.0
|
||||
|
||||
Rectangle {
|
||||
color:"white"
|
||||
width: 300
|
||||
@@ -92,9 +87,6 @@ QT_USE_NAMESPACE
|
||||
or alternatively, by defining an AudioListener outside AudioEngine:
|
||||
|
||||
\qml
|
||||
import QtQuick 2.0
|
||||
import QtAudioEngine 1.0
|
||||
|
||||
Rectangle {
|
||||
color:"white"
|
||||
width: 300
|
||||
|
||||
@@ -51,17 +51,12 @@ QT_USE_NAMESPACE
|
||||
\inherits Item
|
||||
\preliminary
|
||||
|
||||
\c AudioSample is part of the \b{QtAudioEngine 1.0} module.
|
||||
|
||||
It can be accessed through QtAudioEngine::AudioEngine::samples with its unique
|
||||
name and must be defined inside AudioEngine or be added to it using
|
||||
\l{QtAudioEngine::AudioEngine::addAudioSample()}{AudioEngine.addAudioSample()}
|
||||
if AudioSample is created dynamically.
|
||||
|
||||
\qml
|
||||
import QtQuick 2.0
|
||||
import QtAudioEngine 1.0
|
||||
|
||||
Rectangle {
|
||||
color:"white"
|
||||
width: 300
|
||||
|
||||
@@ -53,16 +53,11 @@ QT_USE_NAMESPACE
|
||||
\inherits Item
|
||||
\preliminary
|
||||
|
||||
This type is part of the \b{QtAudioEngine 1.0} module.
|
||||
|
||||
PlayVariation must be defined inside a \l Sound or be added to it using
|
||||
\l{QtAudioEngine::Sound::addPlayVariation()}{Sound.addPlayVariation()}
|
||||
if PlayVariation is created dynamically.
|
||||
|
||||
\qml
|
||||
import QtQuick 2.0
|
||||
import QtAudioEngine 1.0
|
||||
|
||||
Rectangle {
|
||||
color:"white"
|
||||
width: 300
|
||||
|
||||
@@ -159,16 +159,12 @@ void QDeclarativeSoundCone::setEngine(QDeclarativeAudioEngine *engine)
|
||||
\inherits Item
|
||||
\preliminary
|
||||
|
||||
This type is part of the \b{QtAudioEngine 1.0} module.
|
||||
|
||||
Sound can be accessed through QtAudioEngine::AudioEngine::sounds with its unique name
|
||||
and must be defined inside AudioEngine or be added to it using
|
||||
\l{QtAudioEngine::AudioEngine::addSound()}{AudioEngine.addSound()}
|
||||
if \l Sound is created dynamically.
|
||||
|
||||
\qml
|
||||
import QtQuick 2.0
|
||||
import QtAudioEngine 1.0
|
||||
|
||||
Rectangle {
|
||||
color:"white"
|
||||
|
||||
@@ -52,15 +52,10 @@ QT_USE_NAMESPACE
|
||||
\inherits Item
|
||||
\preliminary
|
||||
|
||||
This type is part of the \b{QtAudioEngine 1.0} module.
|
||||
|
||||
There are two ways to create SoundInstance objects. You can obtain it by calling newInstance
|
||||
method of a \l Sound:
|
||||
|
||||
\qml
|
||||
import QtQuick 2.0
|
||||
import QtAudioEngine 1.0
|
||||
|
||||
Rectangle {
|
||||
id:root
|
||||
color:"white"
|
||||
@@ -98,9 +93,6 @@ QT_USE_NAMESPACE
|
||||
easier qml bindings:
|
||||
|
||||
\qml
|
||||
import QtQuick 2.0
|
||||
import QtAudioEngine 1.0
|
||||
|
||||
Rectangle {
|
||||
id:root
|
||||
color:"white"
|
||||
|
||||
@@ -177,12 +177,12 @@ what changed, and what you might need to change when porting code.
|
||||
\section2 QML Types
|
||||
The QML types are accessed by using:
|
||||
\code
|
||||
import QtMultimedia 5.5
|
||||
import QtMultimedia 5.6
|
||||
\endcode
|
||||
\annotatedlist multimedia_qml
|
||||
The following types are accessed by using \l{Qt Audio Engine QML Types}{Qt Audio Engine}:
|
||||
\code
|
||||
import QtAudioEngine 1.0
|
||||
import QtAudioEngine 1.1
|
||||
\endcode
|
||||
\annotatedlist multimedia_audioengine
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
****************************************************************************/
|
||||
|
||||
/*!
|
||||
\qmlmodule QtAudioEngine 1.0
|
||||
\qmlmodule QtAudioEngine 1.1
|
||||
\title Qt Audio Engine QML Types
|
||||
\ingroup qmlmodules
|
||||
\brief Provides QML types for 3D positional audio playback and content management.
|
||||
@@ -37,7 +37,7 @@ Engine provides types for 3D positional audio playback and content management.
|
||||
The QML types can be imported into your application using the following import
|
||||
statement in your .qml file:
|
||||
\code
|
||||
import QtAudioEngine 1.0
|
||||
import QtAudioEngine 1.1
|
||||
\endcode
|
||||
|
||||
\section1 Qt Audio Engine Features
|
||||
|
||||
@@ -54,7 +54,7 @@
|
||||
import statement in your \c {.qml} file.
|
||||
|
||||
\code
|
||||
import QtMultimedia 5.5
|
||||
import QtMultimedia 5.6
|
||||
\endcode
|
||||
|
||||
If you intend to use the C++ classes in your application, include the C++
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
****************************************************************************/
|
||||
|
||||
/*!
|
||||
\qmlmodule QtMultimedia 5.5
|
||||
\qmlmodule QtMultimedia 5.6
|
||||
\title Qt Multimedia QML Types
|
||||
\ingroup qmlmodules
|
||||
\brief Provides QML types for multimedia support.
|
||||
@@ -42,7 +42,7 @@ The QML types for \l{Qt Multimedia} support the basic use cases such as:
|
||||
The QML types can be imported into your application using the following import
|
||||
statement in your .qml file:
|
||||
\code
|
||||
import QtMultimedia 5.5
|
||||
import QtMultimedia 5.6
|
||||
\endcode
|
||||
|
||||
\section1 QML types
|
||||
|
||||
@@ -34,6 +34,8 @@
|
||||
#include "QtCore/qdebug.h"
|
||||
#include "mfaudioendpointcontrol.h"
|
||||
|
||||
#include <mmdeviceapi.h>
|
||||
|
||||
MFAudioEndpointControl::MFAudioEndpointControl(QObject *parent)
|
||||
: QAudioOutputSelectorControl(parent)
|
||||
, m_currentActivate(0)
|
||||
|
||||
@@ -36,7 +36,6 @@
|
||||
|
||||
#include <mfapi.h>
|
||||
#include <mfidl.h>
|
||||
#include <mmdeviceapi.h>
|
||||
|
||||
#include "qaudiooutputselectorcontrol.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user