---
title: Audio sample rate for a sample entry
framework: quicktime-file-format
role: article
role_heading: Article
path: quicktime-file-format/audio_sample_rate_for_a_sample_entry
---

# Audio sample rate for a sample entry

## Overview

Overview Feature Values This feature value is an unsigned 32-bit integer holding the audio sample rate in units per seconds (cycles per second). The value should be rounded up to the nearest integer if it has a fractional portion. Examples: 24 kHz = 24000, 44.1 kHz = 44100. Writer Responsibilities A writer of the Audio Sample Rate feature should record the integer portion (rounded up if there is a fractional portion) of the audio sample rate found in a sound track’s SoundDescription structure. If multiple audio sample rates are used in the movie, then either all must recorded in the profile atom, or none must be recorded. Feature Value Algorithm This is the integer portion of the sample rate from a QuickTime audio sample description (rounded up if there is a fractional portion). If the sample rate is greater than 64 kHz, the integer portion can be recorded here. If a sample rate has a fractional portion, the writer should round up to the nearest integer. So, the 22254.54545 value that may occur in QuickTime audio as a Fixed value represented as 0x56EE8BA3 can be recorded as 22255. Reader Responsibilities A reader of this feature code should compare the recorded value with its own audio sample rate limits. If the reader only supports discrete values (such as 44100), it can perform equality comparisons (=). If the reader supports ranges of audio sample rates (such as all rates less than or equal to 32000), the reader can perform relative comparisons (<, <=, >, or >=).

## See Also

### Setting features

- [Table of features](quicktime-file-format/table_of_features.md)
- [Maximum video bit rate](quicktime-file-format/maximum_video_bit_rate.md)
- [Average video bit rate](quicktime-file-format/average_video_bit_rate.md)
- [Maximum audio bit rate](quicktime-file-format/maximum_audio_bit_rate.md)
- [Average audio bit rate](quicktime-file-format/average_audio_bit_rate.md)
- [QuickTime video codec type](quicktime-file-format/quicktime_video_codec_type.md)
- [QuickTime audio codec type](quicktime-file-format/quicktime_audio_codec_type.md)
- [MPEG-4 video profile](quicktime-file-format/mpeg-4_video_profile.md)
- [MPEG-4 video codec](quicktime-file-format/mpeg-4_video_codec.md)
- [MPEG-4 video object type](quicktime-file-format/mpeg-4_video_object_type.md)
- [MPEG-4 audio codec](quicktime-file-format/mpeg-4_audio_codec.md)
- [Maximum video size in a movie](quicktime-file-format/maximum_video_size_in_a_movie.md)
- [Maximum video size in a track](quicktime-file-format/maximum_video_size_in_a_track.md)
- [Maximum video frame rate in a single track](quicktime-file-format/maximum_video_frame_rate_in_a_single_track.md)
- [Average video frame rate in a single track](quicktime-file-format/average_video_frame_rate_in_a_single_track.md)
