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
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

Member Function Documentation

◆ clear()

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

Definition at line 89 of file qaudiobuffer.h.

◆ operator[]()

Definition at line 86 of file qaudiobuffer.h.

◆ positionToIndex()

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

Definition at line 64 of file qaudiobuffer.h.

◆ setValue()

Definition at line 80 of file qaudiobuffer.h.

◆ value()

Member Data Documentation

◆ channels

Definition at line 63 of file qaudiobuffer.h.


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