Skip to content

Commit 14fab50

Browse files
authored
Merge pull request #95 from apps4uco/master
Fix of 4 documentation warnings
2 parents a365ce5 + e4544ca commit 14fab50

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/audio_unit/stream_format.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ use sys;
1616
/// Seeing as `LinearPCM` data (the `AudioFormat` used by the `AudioUnit` API) implies a single
1717
/// frame per packet, we can infer many of the fields in an ASBD from the sample type.
1818
///
19-
/// `bytes_per_packet` = size_of::<S>()
20-
/// `bytes_per_frame` = size_of::<S>()
19+
/// `bytes_per_packet = size_of::<S>()`
20+
/// `bytes_per_frame = size_of::<S>()`
2121
/// `frames_per_packet` = 1
22-
/// `bits_per_channel` = size_of::<S>() / channels_per_frame * 8
22+
/// `bits_per_channel = size_of::<S>()` / channels_per_frame * 8
2323
///
2424
/// > A *packet* is a collection of one or more contiguous frames. In linear PCM audio, a packet is
2525
/// always a single frame.

src/audio_unit/types.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ pub enum IOType {
439439
/// Use it for playback, recording, or low-latency simultaneous input and output where echo
440440
/// cancelation is not needed.
441441
///
442-
/// See https://developer.apple.com/library/content/documentation/MusicAudio/Conceptual/AudioUnitHostingGuide_iOS/UsingSpecificAudioUnits/UsingSpecificAudioUnits.html
442+
/// See <https://developer.apple.com/library/content/documentation/MusicAudio/Conceptual/AudioUnitHostingGuide_iOS/UsingSpecificAudioUnits/UsingSpecificAudioUnits.html>
443443
/// **Available** in iOS.
444444
RemoteIO = 1919512419,
445445
}

0 commit comments

Comments
 (0)