kAudioServicesPropertyIsUISound

kAudioServicesPropertyIsUISound

如何使用AudioServicesSetProperty将kAudioServicesPropertyIsUISound设置为0?谢谢

最佳答案

假设您的SystemSoundID对象为“ systemSoundID”

UInt32 flag = 0;
err = AudioServicesSetProperty(kAudioServicesPropertyIsUISound,
                               sizeof(UInt32),
                               &systemSoundID,
                               sizeof(UInt32),
                               &flag);

关于iphone - 如何通过AudioServicesSetProperty设置kAudioServicesPropertyIsUISound?,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/652216/

10-10 09:40