Skip to content

Commit

Permalink
Tune api
Browse files Browse the repository at this point in the history
  • Loading branch information
yury committed Nov 6, 2024
1 parent 7591080 commit b0be23b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cidre/src/cat/audio/base_types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1586,7 +1586,7 @@ impl ChannelLayoutTag {
/// `kAudioChannelLayoutTag_UseChannelBitmap`
#[doc(alias = "AudioChannelLayoutTag_GetNumberOfChannels")]
#[inline]
pub fn number_of_channels(&self) -> u32 {
pub const fn number_of_channels(&self) -> u32 {
self.0 & 0x0000FFFF
}
}
Expand Down

0 comments on commit b0be23b

Please sign in to comment.