tags:

views:

170

answers:

1

How do you set kAudioServicesPropertyIsUISound to 0 using AudioServicesSetProperty? Thanks

A: 

Assuming your SystemSoundID object is "systemSoundID"

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