diff --git a/cidre/src/av/audio/format.rs b/cidre/src/av/audio/format.rs index cedf17fb..ab838a49 100644 --- a/cidre/src/av/audio/format.rs +++ b/cidre/src/av/audio/format.rs @@ -130,7 +130,7 @@ impl Format { /// let settings = format.settings(); /// ``` #[objc::msg_send(settings)] - pub fn settings(&self) -> &ns::Dictionary; + pub fn settings(&self) -> arc::R>; #[objc::msg_send(isInterleaved)] pub fn is_interleaved(&self) -> bool; @@ -145,10 +145,10 @@ impl Format { pub fn absd(&self) -> &StreamBasicDesc; #[objc::msg_send(channelLayout)] - pub fn channel_layout(&self) -> Option<&ChannelLayout>; + pub fn channel_layout(&self) -> Option>; #[objc::msg_send(magicCookie)] - pub fn magic_cookie(&self) -> Option<&ns::Data>; + pub fn magic_cookie(&self) -> Option>; } #[link(name = "av", kind = "static")]