如何使用AudioServicesSetProperty将kAudioServicesPropertyIsUISound设置为0?感谢
答案 0 :(得分:4)
假设您的SystemSoundID对象是“systemSoundID”
UInt32 flag = 0;
err = AudioServicesSetProperty(kAudioServicesPropertyIsUISound,
sizeof(UInt32),
&systemSoundID,
sizeof(UInt32),
&flag);