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

(d2c373ef91299825095400b6f871cb91345fc596)

#include "qpulsehelpers_p.h"
Include dependency graph for qpulsehelpers.cpp:

Go to the source code of this file.

Namespaces

namespace  QPulseAudioInternal

Functions

pa_sample_spec QPulseAudioInternal::audioFormatToSampleSpec (const QAudioFormat &format)
pa_channel_map QPulseAudioInternal::channelMapForAudioFormat (const QAudioFormat &format)
QAudioFormat::ChannelConfig QPulseAudioInternal::channelConfigFromMap (const pa_channel_map &map)
QAudioFormat QPulseAudioInternal::sampleSpecToAudioFormat (const pa_sample_spec &spec)
QUtf8StringView QPulseAudioInternal::currentError (const pa_context *context)
QUtf8StringView QPulseAudioInternal::currentError (const pa_stream *stream)
PAOperationHandle QPulseAudioInternal::streamCork (const PAStreamHandle &stream, bool corkStream)
static QLatin1StringView stateToQStringView (pa_stream_state_t state)
static QLatin1StringView sampleFormatToQStringView (pa_sample_format format)
static QLatin1StringView stateToQStringView (pa_context_state_t state)
QDebug operator<< (QDebug dbg, pa_stream_state_t state)
QDebug operator<< (QDebug dbg, pa_sample_format format)
QDebug operator<< (QDebug dbg, pa_context_state_t state)

Function Documentation

◆ operator<<() [1/3]

QDebug operator<< ( QDebug dbg,
pa_context_state_t state )

Definition at line 287 of file qpulsehelpers.cpp.

◆ operator<<() [2/3]

QDebug operator<< ( QDebug dbg,
pa_sample_format format )

Definition at line 282 of file qpulsehelpers.cpp.

◆ operator<<() [3/3]

QDebug operator<< ( QDebug dbg,
pa_stream_state_t state )

Definition at line 277 of file qpulsehelpers.cpp.

◆ sampleFormatToQStringView()

QLatin1StringView sampleFormatToQStringView ( pa_sample_format format)
static

Definition at line 236 of file qpulsehelpers.cpp.

◆ stateToQStringView() [1/2]

QLatin1StringView stateToQStringView ( pa_context_state_t state)
static

Definition at line 260 of file qpulsehelpers.cpp.

◆ stateToQStringView() [2/2]

QLatin1StringView stateToQStringView ( pa_stream_state_t state)
static

Definition at line 222 of file qpulsehelpers.cpp.