Reputation: 221
How do you set kAudioServicesPropertyIsUISound to 0 using AudioServicesSetProperty? Thanks
Upvotes: 3
Views: 1120
Reputation: 17414
Assuming your SystemSoundID object is "systemSoundID"
UInt32 flag = 0;
err = AudioServicesSetProperty(kAudioServicesPropertyIsUISound,
sizeof(UInt32),
&systemSoundID,
sizeof(UInt32),
&flag);
Upvotes: 5