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
qohaudiostream.cpp File Reference

(136b6b9ff30755e1ce83818b8467b946a9f20059)

#include "qohaudiostream_p.h"
#include <QtMultimedia/private/qmultimedia_enum_to_string_converter_p.h>
#include <QtCore/qloggingcategory.h>
#include <QtCore/qmutex.h>
Include dependency graph for qohaudiostream.cpp:

Go to the source code of this file.

Namespaces

namespace  QtOHAudio

Functions

QT_BEGIN_NAMESPACE QT_MM_MAKE_STRING_RESOLVER (OH_AudioStream_Result, QtMultimediaPrivate::EnumName,(AUDIOSTREAM_SUCCESS, "AUDIOSTREAM_SUCCESS")(AUDIOSTREAM_ERROR_INVALID_PARAM, "AUDIOSTREAM_ERROR_INVALID_PARAM")(AUDIOSTREAM_ERROR_ILLEGAL_STATE, "AUDIOSTREAM_ERROR_ILLEGAL_STATE")(AUDIOSTREAM_ERROR_SYSTEM, "AUDIOSTREAM_ERROR_SYSTEM")(AUDIOSTREAM_ERROR_UNSUPPORTED_FORMAT, "AUDIOSTREAM_ERROR_UNSUPPORTED_FORMAT"))
 QT_MM_DEFINE_QDEBUG_ENUM (OH_AudioStream_Result)
OH_AudioStream_SampleFormat QtOHAudio::toOHSampleFormat (QAudioFormat::SampleFormat fmt)
QAudioFormat::SampleFormat QtOHAudio::fromOHSampleFormat (OH_AudioStream_SampleFormat fmt)
QAudioFormat::SampleFormat QtOHAudio::preferredCompatibleSampleFormat (QAudioFormat::SampleFormat requested)

Function Documentation

◆ QT_MM_DEFINE_QDEBUG_ENUM()

QT_MM_DEFINE_QDEBUG_ENUM ( OH_AudioStream_Result )

Referenced by QtOHAudio::Stream::pause(), and QtOHAudio::Stream::start().

Here is the caller graph for this function:

◆ QT_MM_MAKE_STRING_RESOLVER()

QT_BEGIN_NAMESPACE QT_MM_MAKE_STRING_RESOLVER ( OH_AudioStream_Result ,
QtMultimediaPrivate::EnumName ,
(AUDIOSTREAM_SUCCESS, "AUDIOSTREAM_SUCCESS")(AUDIOSTREAM_ERROR_INVALID_PARAM, "AUDIOSTREAM_ERROR_INVALID_PARAM")(AUDIOSTREAM_ERROR_ILLEGAL_STATE, "AUDIOSTREAM_ERROR_ILLEGAL_STATE")(AUDIOSTREAM_ERROR_SYSTEM, "AUDIOSTREAM_ERROR_SYSTEM")(AUDIOSTREAM_ERROR_UNSUPPORTED_FORMAT, "AUDIOSTREAM_ERROR_UNSUPPORTED_FORMAT")  )