# AP4_AudioSampleDescription Class Reference

`#include <Ap4SampleDescription.h>`

Inheritance diagram for AP4_AudioSampleDescription:

List of all members.

## Public Member Functions
| AP4_AudioSampleDescription (unsigned int sample_rate, unsigned int sample_size, unsigned int channel_count)
AP4_UI32 | GetSampleRate ()
AP4_UI16 | GetSampleSize ()
AP4_UI16 | GetChannelCount ()
## Protected Attributes
AP4_UI32 | m_SampleRate
AP4_UI16 | m_SampleSize
AP4_UI16 | m_ChannelCount

## Detailed Description

Definition at line 90 of file Ap4SampleDescription.h.

## Constructor & Destructor Documentation

AP4_AudioSampleDescription::AP4_AudioSampleDescription | ( | unsigned int | sample_rate,
|  | unsigned int | sample_size,
|  | unsigned int | channel_count |
| ) |  |  | `[inline]`

Definition at line 94 of file Ap4SampleDescription.h.

## Member Function Documentation

AP4_UI32 AP4_AudioSampleDescription::GetSampleRate | ( |  | ) | `[inline]`

Definition at line 102 of file Ap4SampleDescription.h.

References m_SampleRate.

AP4_UI16 AP4_AudioSampleDescription::GetSampleSize | ( |  | ) | `[inline]`

Definition at line 103 of file Ap4SampleDescription.h.

References m_SampleSize.

AP4_UI16 AP4_AudioSampleDescription::GetChannelCount | ( |  | ) | `[inline]`

Definition at line 104 of file Ap4SampleDescription.h.

References m_ChannelCount.

## Member Data Documentation

AP4_UI32 AP4_AudioSampleDescription::m_SampleRate`[protected]`

Definition at line 108 of file Ap4SampleDescription.h.

Referenced by GetSampleRate().

AP4_UI16 AP4_AudioSampleDescription::m_SampleSize`[protected]`

Definition at line 109 of file Ap4SampleDescription.h.

Referenced by GetSampleSize().

AP4_UI16 AP4_AudioSampleDescription::m_ChannelCount`[protected]`

Definition at line 110 of file Ap4SampleDescription.h.

Referenced by GetChannelCount().

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

- Ap4SampleDescription.h