void QDeclarativeAudioSample::setSource(const QUrl& url)
{
if (m_complete) {
- qWarning("AudioSample: source not changable after initialization.");
+ qWarning("AudioSample: source not changeable after initialization.");
return;
}
m_url = url;
void QDeclarativeAudioSample::setPreloaded(bool preloaded)
{
if (m_complete) {
- qWarning("AudioSample: preloaded not changable after initialization.");
+ qWarning("AudioSample: preloaded not changeable after initialization.");
return;
}
m_preloaded = preloaded;
void QDeclarativeAudioSample::setStreaming(bool streaming)
{
if (m_complete) {
- qWarning("AudioSample: streaming not changable after initialization.");
+ qWarning("AudioSample: streaming not changeable after initialization.");
return;
}
m_streaming = streaming;
void QDeclarativeAudioSample::setName(const QString& name)
{
if (m_complete) {
- qWarning("AudioSample: name not changable after initialization.");
+ qWarning("AudioSample: name not changeable after initialization.");
return;
}
m_name = name;
void QDeclarativeSound::setPlayType(PlayType playType)
{
if (m_complete) {
- qWarning("Sound: playType not changable after initialization.");
+ qWarning("Sound: playType not changeable after initialization.");
return;
}
m_playType = playType;
void QDeclarativeSound::setCategory(const QString& category)
{
if (m_complete) {
- qWarning("Sound: category not changable after initialization.");
+ qWarning("Sound: category not changeable after initialization.");
return;
}
m_category = category;
void QDeclarativeSound::setName(const QString& name)
{
if (m_complete) {
- qWarning("Sound: category not changable after initialization.");
+ qWarning("Sound: category not changeable after initialization.");
return;
}
m_name = name;
void QDeclarativeSound::setAttenuationModel(QString attenuationModel)
{
if (m_complete) {
- qWarning("Sound: attenuationModel not changable after initialization.");
+ qWarning("Sound: attenuationModel not changeable after initialization.");
return;
}
m_attenuationModel = attenuationModel;
\qmlproperty variant QtMultimedia::Camera::metaData.gpsLongitude
\qmlproperty variant QtMultimedia::Camera::metaData.gpsAltitude
- These properties hold the the geographic position in decimal degrees of the
+ These properties hold the geographic position in decimal degrees of the
camera at time of capture.
\sa {QMediaMetaData}
for video.
Camera saves all the capture parameters like exposure settings or
- image processing parameters, so changes to camera paramaters after
+ image processing parameters, so changes to camera parameters after
capture() is called do not affect previous capture requests.
capture() returns the capture requestId parameter, used with
the default directory, with a full path reported with imageCaptured() and imageSaved() signals.
QCamera saves all the capture parameters like exposure settings or
- image processing parameters, so changes to camera paramaters after
+ image processing parameters, so changes to camera parameters after
capture() is called do not affect previous capture requests.
QCameraImageCapture::capture returns the capture Id parameter, used with
The Camera service should save all the capture parameters
like exposure settings or image processing parameters,
- so changes to camera paramaters after capture() is called
+ so changes to camera parameters after capture() is called
do not affect previous capture requests.
Returns the capture request id number, which is used later
\brief Platform notes for the BlackBerry Platform
Qt Multimedia supports BlackBerry devices that run the BB10 operating system.
-This page covers the availibility of different features on BB10.
+This page covers the availability of different features on BB10.
\section1 Implementation
return;
} else if (control != 0) {
// If we've just switched to a new playlist,
- // then last emited currentMediaChanged was a playlist.
+ // then last emitted currentMediaChanged was a playlist.
// Make sure we emit currentMediaChanged if new playlist has
// the same media as the previous one:
// sample.m3u
player->setVideoOutput(myVideoSurface);
player->setMedia(QUrl::fromLocalFile("observation.mp4"));
- player->play(); // Start receving frames as they get presented to myVideoSurface
+ player->play(); // Start receiving frames as they get presented to myVideoSurface
\endcode
This same approach works with the QCamera object as well, to receive viewfinder or video
return;
mixerID = (HMIXEROBJ)mixerIntID;
- // Get the Destination (Recording) Line Infomation
+ // Get the Destination (Recording) Line Information
MIXERLINE mixerLine;
mixerLine.cbStruct = sizeof(MIXERLINE);
mixerLine.dwComponentType = MIXERLINE_COMPONENTTYPE_DST_WAVEIN;
// (which might be earlier than the last decoded key frame)
resetPosition = true;
} else if (cmdNow == CmdPause) {
- // If paused, dont reset the position until we resume, otherwise
+ // If paused, don't reset the position until we resume, otherwise
// a new frame will be rendered
m_presentationClock->GetCorrelatedTime(0, &hnsClockTime, &hnsSystemTime);
m_request.setCommand(CmdSeekResume);