複製自 Mojave/Tick11
Initial gitra1n commit
This commit is contained in:
@ -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);
|
||||
|
||||
}
|
||||
|
||||
|
二進制
layout/.DS_Store
vendored
二進制
layout/.DS_Store
vendored
Binary file not shown.
二進制
layout/Library/.DS_Store
vendored
二進制
layout/Library/.DS_Store
vendored
Binary file not shown.
二進制
layout/Library/Application Support/.DS_Store
vendored
二進制
layout/Library/Application Support/.DS_Store
vendored
Binary file not shown.
二進制
layout/Library/Application Support/Tick/.DS_Store
vendored
二進制
layout/Library/Application Support/Tick/.DS_Store
vendored
Binary file not shown.
Reference in New Issue
Block a user