Qt 4.8
Public Functions | Public Variables | List of all members
QAudioFormatPrivate Class Reference
Inheritance diagram for QAudioFormatPrivate:
QSharedData

Public Functions

QAudioFormatPrivateoperator= (const QAudioFormatPrivate &other)
 
 QAudioFormatPrivate ()
 
 QAudioFormatPrivate (const QAudioFormatPrivate &other)
 
- Public Functions inherited from QSharedData
 QSharedData ()
 Constructs a QSharedData object with a reference count of 0. More...
 
 QSharedData (const QSharedData &)
 Constructs a QSharedData object with reference count 0. More...
 

Public Variables

QAudioFormat::Endian byteOrder
 
int channels
 
QString codec
 
int frequency
 
int sampleSize
 
QAudioFormat::SampleType sampleType
 
- Public Variables inherited from QSharedData
QAtomicInt ref
 

Detailed Description

Definition at line 48 of file qaudioformat.cpp.

Constructors and Destructors

◆ QAudioFormatPrivate() [1/2]

QAudioFormatPrivate::QAudioFormatPrivate ( )
inline

Definition at line 51 of file qaudioformat.cpp.

52  {
53  frequency = -1;
54  channels = -1;
55  sampleSize = -1;
56  byteOrder = QAudioFormat::Endian(QSysInfo::ByteOrder);
58  }
QAudioFormat::SampleType sampleType
QAudioFormat::Endian byteOrder

◆ QAudioFormatPrivate() [2/2]

QAudioFormatPrivate::QAudioFormatPrivate ( const QAudioFormatPrivate other)
inline

Definition at line 60 of file qaudioformat.cpp.

60  :
61  QSharedData(other),
62  codec(other.codec),
63  byteOrder(other.byteOrder),
64  sampleType(other.sampleType),
65  frequency(other.frequency),
66  channels(other.channels),
67  sampleSize(other.sampleSize)
68  {
69  }
QSharedData()
Constructs a QSharedData object with a reference count of 0.
Definition: qshareddata.h:61
QAudioFormat::SampleType sampleType
QAudioFormat::Endian byteOrder

Functions

◆ operator=()

QAudioFormatPrivate& QAudioFormatPrivate::operator= ( const QAudioFormatPrivate other)
inline

Definition at line 71 of file qaudioformat.cpp.

72  {
73  codec = other.codec;
74  byteOrder = other.byteOrder;
75  sampleType = other.sampleType;
76  frequency = other.frequency;
77  channels = other.channels;
78  sampleSize = other.sampleSize;
79 
80  return *this;
81  }
QAudioFormat::SampleType sampleType
QAudioFormat::Endian byteOrder

Properties

◆ byteOrder

QAudioFormat::Endian QAudioFormatPrivate::byteOrder

◆ channels

int QAudioFormatPrivate::channels

◆ codec

QString QAudioFormatPrivate::codec

◆ frequency

int QAudioFormatPrivate::frequency

◆ sampleSize

int QAudioFormatPrivate::sampleSize

◆ sampleType

QAudioFormat::SampleType QAudioFormatPrivate::sampleType

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