From 701ca580b2a734372e7febdae0e90e0bf01c17e7 Mon Sep 17 00:00:00 2001 From: Yury Date: Mon, 28 Oct 2024 13:46:56 +0300 Subject: [PATCH] some av::audio doc aliases --- cidre/src/av/audio/application.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cidre/src/av/audio/application.rs b/cidre/src/av/audio/application.rs index 89479a32..e9b37682 100644 --- a/cidre/src/av/audio/application.rs +++ b/cidre/src/av/audio/application.rs @@ -39,6 +39,7 @@ pub enum MicInjectionPermission { } impl ns::NotificationName { + #[doc(alias = "AVAudioApplicationInputMuteStateChangeNotification")] #[inline] pub fn audio_app_input_mute_state_change() -> &'static Self { unsafe { AVAudioApplicationInputMuteStateChangeNotification } @@ -53,12 +54,15 @@ define_obj_type!( impl App { define_cls!(AV_AUDIO_APPLICATION); + #[doc(alias = "AVAudioApplicationInputMuteStateChangeNotification")] + #[doc(alias = "AVAudioApplication.inputMuteStateChangeNotification")] #[inline] pub fn input_change_notification() -> &'static ns::NotificationName { ns::NotificationName::audio_app_input_mute_state_change() } #[doc(alias = "AVAudioApplicationMuteStateKey")] + #[doc(alias = "AVAudioApplication.muteStateKey")] #[inline] pub fn mute_state_key() -> &'static ns::String { unsafe { AVAudioApplicationMuteStateKey }