mirror of
https://github.com/SableClient/Sable.git
synced 2026-11-20 00:51:17 -08:00
fix(ios): declare AudioServicesCreateSystemSoundID URL param as const pointer
This commit is contained in:
1 file changed
+1
-1
@@ -94,7 +94,7 @@ use objc2_foundation::{NSString, NSURL};
|
||||
|
||||
extern "C" {
|
||||
fn AudioServicesCreateSystemSoundID(
|
||||
in_file_url: *mut objc2::runtime::AnyObject,
|
||||
in_file_url: *const objc2::runtime::AnyObject,
|
||||
out_sound_id: *mut u32,
|
||||
) -> i32;
|
||||
fn AudioServicesPlaySystemSound(sound_id: u32);
|
||||
|
||||
Reference in new issue
Block a user