|
|
@@ -8,13 +8,13 @@ void playSound() { |
|
|
|
AudioServicesDisposeSystemSoundID(sound); |
|
|
|
|
|
|
|
if (loudness == 0) { |
|
|
|
AudioServicesCreateSystemSoundID((CFURLRef) CFBridgingRetain([NSURL fileURLWithPath:@"/Library/Application Support/Tick/tick.caf"]), &sound); |
|
|
|
AudioServicesCreateSystemSoundID((CFURLRef) CFBridgingRetain([NSURL fileURLWithPath:@"/Library/Tick/tick.caf"]), &sound); |
|
|
|
|
|
|
|
} else if (loudness == 1) { |
|
|
|
AudioServicesCreateSystemSoundID((CFURLRef) CFBridgingRetain([NSURL fileURLWithPath:@"/Library/Application Support/Tick/tick2.caf"]), &sound); |
|
|
|
AudioServicesCreateSystemSoundID((CFURLRef) CFBridgingRetain([NSURL fileURLWithPath:@"/Library/Tick/tick2.caf"]), &sound); |
|
|
|
|
|
|
|
} else if (loudness == 2) { |
|
|
|
AudioServicesCreateSystemSoundID((CFURLRef) CFBridgingRetain([NSURL fileURLWithPath:@"/Library/Application Support/Tick/tick3.caf"]), &sound); |
|
|
|
AudioServicesCreateSystemSoundID((CFURLRef) CFBridgingRetain([NSURL fileURLWithPath:@"/Library/Tick/tick3.caf"]), &sound); |
|
|
|
|
|
|
|
} |
|
|
|
|