Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#include <QFile>
#include <QTimer>
#include <QDebug>
#include <qobject.h>
#include <qfile.h>
#include "qaudiodevice.h"
#include "qaudiosource.h"
#include "qaudiooutput.h"
#include "qaudiodecoder.h"
#include "qmediaplayer.h"
#include "qmediadevices.h"
Go to the source code of this file.
Classes | |
class | AudioInputExample |
class | AudioOutputExample |
[Audio input state changed] More... | |
class | AudioDecodingExample |
Functions | |
void | AudioDeviceInfo () |
[Audio output state changed] | |
void | applyVolume (int volumeSliderValue) |
[Volume conversion] | |
Variables | |
QMediaPlayer | player |
void applyVolume | ( | int | volumeSliderValue | ) |
[Volume conversion]
Definition at line 216 of file audio.cpp.
References QAudio::convertVolume(), QAudio::LinearVolumeScale, QAudio::LogarithmicVolumeScale, player, and qRound().
void AudioDeviceInfo | ( | ) |
[Audio output state changed]
[Setting audio format]
[Setting audio format]
[Dumping audio formats]
[Dumping audio formats]
Definition at line 168 of file audio.cpp.
References QMediaDevices::audioOutputs, device, QAudioFormat::Int16, qDebug, and QAudioFormat::setSampleRate().
QMediaPlayer player |
Definition at line 213 of file audio.cpp.
Referenced by QPlatformMediaPlayer::activeTracksChanged(), applyVolume(), QPlatformMediaPlayer::audioAvailableChanged(), AVFMediaPlayer::audioOutputChanged(), QPlatformMediaPlayer::bufferProgressChanged(), QAndroidIntegration::createPlayer(), QDarwinIntegration::createPlayer(), QFFmpegMediaIntegration::createPlayer(), QGstreamerIntegration::createPlayer(), QWasmMediaIntegration::createPlayer(), QPlatformMediaPlayer::durationChanged(), QPlatformMediaPlayer::metaDataChanged(), QPlatformMediaPlayer::nativePipeline(), AndroidMediaPlayer::playbackRate(), QPlatformMediaPlayer::playbackRateChanged(), QPlatformMediaPlayer::positionChanged(), AVFMediaPlayer::processLoadStateChange(), QPlatformMediaPlayer::seekableChanged(), QPlatformMediaPlayer::setLoops(), AVFMediaPlayer::setMuted(), AVFMediaPlayer::setPlaybackRate(), AVFMediaPlayer::setVolume(), QPlatformMediaPlayer::tracksChanged(), QVideoSinkPrivate::unregisterSource(), and QPlatformMediaPlayer::videoAvailableChanged().