Skip to content

Commit 895806f

Browse files
committed
Fix typos
1 parent 134b168 commit 895806f

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

src/audio_unit/audio_format.rs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ pub enum AudioFormat {
9393
///
9494
/// **Available** in OS X v10.2 and later.
9595
TimeCode(Option<AudioTimeStampFlags>), // = 1953066341,
96-
/// A stream of MIDIPAcketList structures where the time stamps in the MIDIPacket structures
96+
/// A stream of MIDIPacketList structures where the time stamps in the MIDIPacket structures
9797
/// are sample offsets in the stream. The `sample_rate` field in the **StreamFormat** structure
9898
/// is used to describe how time is passed in this kind of stream.
9999
///
@@ -274,9 +274,9 @@ pub mod standard_flags {
274274
/// Standard flags for use in the **F60958AC3** **AudioFormat** variant.
275275
///
276276
/// Note: In the original Core Audio API these are consolidated with what we have named the
277-
/// **StandardFlags** and **AppleLosslessFlag** types under the `AudioFormatFlag` type. We have
278-
/// chosen to separate these for greater type safety and clearer compatibility with the
279-
/// **AudioFormat** type.
277+
/// **StandardFlags** and **AppleLosslessFlags** types under the `AudioFormatFlag` type. We
278+
/// have chosen to separate these for greater type safety and clearer compatibility with
279+
/// the **AudioFormat** type.
280280
///
281281
/// Original documentation [here](https://developer.apple.com/library/mac/documentation/MusicAudio/Reference/CoreAudioDataTypesRef/#//apple_ref/doc/constant_group/AudioStreamBasicDescription_Flags).
282282
flags StandardFlags: u32 {
@@ -336,9 +336,9 @@ pub mod linear_pcm_flags {
336336
/// Flags for use within the **LinearPCM** **AudioFormat**.
337337
///
338338
/// Note: In the original Core Audio API these are consolidated with what we have named the
339-
/// **StandardFlags** and **AppleLosslessFlag** types under the `AudioFormatFlag` type. We have
340-
/// chosen to separate these for greater type safety and clearer compatibility with the
341-
/// **AudioFormat** type.
339+
/// **StandardFlags** and **AppleLosslessFlags** types under the `AudioFormatFlag` type. We
340+
/// have chosen to separate these for greater type safety and clearer compatibility with
341+
/// the **AudioFormat** type.
342342
///
343343
/// Original documentation [here](https://developer.apple.com/library/mac/documentation/MusicAudio/Reference/CoreAudioDataTypesRef/#//apple_ref/doc/constant_group/AudioStreamBasicDescription_Flags).
344344
flags LinearPCMFlags: u32 {
@@ -403,9 +403,9 @@ pub mod apple_lossless_flags {
403403
/// **Available** in OS X v10.3 and later.
404404
///
405405
/// Note: In the original Core Audio API these are consolidated with what we have named the
406-
/// **StandardFlags** and **AppleLosslessFlag** types under the `AudioFormatFlag` type. We have
407-
/// chosen to separate these for greater type safety and clearer compatibility with the
408-
/// **AudioFormat** type.
406+
/// **StandardFlags** and **AppleLosslessFlags** types under the `AudioFormatFlag` type. We
407+
/// have chosen to separate these for greater type safety and clearer compatibility with
408+
/// the **AudioFormat** type.
409409
///
410410
/// Original documentation [here](https://developer.apple.com/library/mac/documentation/MusicAudio/Reference/CoreAudioDataTypesRef/#//apple_ref/doc/constant_group/AudioStreamBasicDescription_Flags).
411411
flags AppleLosslessFlags: u32 {

0 commit comments

Comments
 (0)