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
QAudioFrame< config, format > Struct Template Reference

#include <qaudiobuffer.h>

+ Collaboration diagram for QAudioFrame< config, format >:

Public Types

using value_type = typename QtPrivate::AudioSampleFormatHelper<format>::value_type
 

Public Member Functions

value_type value (QAudioFormat::AudioChannelPosition pos) const
 
void setValue (QAudioFormat::AudioChannelPosition pos, value_type val)
 
value_type operator[] (QAudioFormat::AudioChannelPosition pos) const
 
constexpr void clear ()
 

Static Public Member Functions

static constexpr int positionToIndex (QAudioFormat::AudioChannelPosition pos)
 

Public Attributes

value_type channels [nChannels]
 

Detailed Description

template<QAudioFormat::ChannelConfig config, QAudioFormat::SampleFormat format>
struct QAudioFrame< config, format >

Definition at line 48 of file qaudiobuffer.h.

Member Typedef Documentation

◆ value_type

using QAudioFrame< config, format >::value_type = typename QtPrivate::AudioSampleFormatHelper<format>::value_type

Definition at line 62 of file qaudiobuffer.h.

Member Function Documentation

◆ clear()

constexpr void QAudioFrame< config, format >::clear ( )
inlineconstexpr

Definition at line 89 of file qaudiobuffer.h.

References QAudioFrame< config, format >::channels, and i.

◆ operator[]()

Definition at line 86 of file qaudiobuffer.h.

References pos.

◆ positionToIndex()

static constexpr int QAudioFrame< config, format >::positionToIndex ( QAudioFormat::AudioChannelPosition pos)
inlinestaticconstexpr

Definition at line 64 of file qaudiobuffer.h.

References pos, and qPopulationCount().

Referenced by QAudioFrame< config, format >::setValue(), and QAudioFrame< config, format >::value().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setValue()

Definition at line 80 of file qaudiobuffer.h.

References QAudioFrame< config, format >::channels, pos, and QAudioFrame< config, format >::positionToIndex().

+ Here is the call graph for this function:

◆ value()

Definition at line 74 of file qaudiobuffer.h.

References QAudioFrame< config, format >::channels, pos, and QAudioFrame< config, format >::positionToIndex().

+ Here is the call graph for this function:

Member Data Documentation

◆ channels


The documentation for this struct was generated from the following file: