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>.
Loading...
Searching...
No Matches
qpulsehelpers.cpp File Reference

(794ad8d72339ffdd3d22c28ccdb8abc02877ff5b)

#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)
 
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 279 of file qpulsehelpers.cpp.

References state, and stateToQStringView().

+ Here is the call graph for this function:

◆ operator<<() [2/3]

QDebug operator<< ( QDebug dbg,
pa_sample_format format )

Definition at line 274 of file qpulsehelpers.cpp.

References sampleFormatToQStringView().

+ Here is the call graph for this function:

◆ operator<<() [3/3]

QDebug operator<< ( QDebug dbg,
pa_stream_state_t state )

Definition at line 269 of file qpulsehelpers.cpp.

References state, and stateToQStringView().

+ Here is the call graph for this function:

◆ sampleFormatToQStringView()

static QLatin1StringView sampleFormatToQStringView ( pa_sample_format format)
static

Definition at line 228 of file qpulsehelpers.cpp.

Referenced by operator<<().

+ Here is the caller graph for this function:

◆ stateToQStringView() [1/2]

static QLatin1StringView stateToQStringView ( pa_context_state_t state)
static

Definition at line 252 of file qpulsehelpers.cpp.

References state.

◆ stateToQStringView() [2/2]

static QLatin1StringView stateToQStringView ( pa_stream_state_t state)
static

Definition at line 214 of file qpulsehelpers.cpp.

References state.

Referenced by operator<<(), and operator<<().

+ Here is the caller graph for this function: