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_p.h File Reference

(794ad8d72339ffdd3d22c28ccdb8abc02877ff5b)

#include "qaudiodevice.h"
#include <qaudioformat.h>
#include <pulse/pulseaudio.h>
#include <QtCore/QLoggingCategory>
#include <QtCore/qdebug.h>
+ Include dependency graph for qpulsehelpers_p.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  PAOperationDeleter
 

Namespaces

namespace  QPulseAudioInternal
 

Typedefs

using PAOperationUPtr = std::unique_ptr<pa_operation, PAOperationDeleter>
 

Functions

pa_sample_spec QPulseAudioInternal::audioFormatToSampleSpec (const QAudioFormat &format)
 
QAudioFormat QPulseAudioInternal::sampleSpecToAudioFormat (const pa_sample_spec &spec)
 
pa_channel_map QPulseAudioInternal::channelMapForAudioFormat (const QAudioFormat &format)
 
QAudioFormat::ChannelConfig QPulseAudioInternal::channelConfigFromMap (const pa_channel_map &map)
 
QUtf8StringView QPulseAudioInternal::currentError (const pa_context *context)
 
QUtf8StringView QPulseAudioInternal::currentError (const pa_stream *stream)
 
QDebug operator<< (QDebug, pa_stream_state_t)
 
QDebug operator<< (QDebug, pa_sample_format)
 
QDebug operator<< (QDebug, pa_context_state_t)
 

Typedef Documentation

◆ PAOperationUPtr

using PAOperationUPtr = std::unique_ptr<pa_operation, PAOperationDeleter>

Definition at line 35 of file qpulsehelpers_p.h.

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: