Skip to content

Commit 5d2d36b

Browse files
committed
Update README.md
1 parent 45446c1 commit 5d2d36b

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
# SoundEffect
22
Sample class for quickly incorporating sound effects in iOS, OS X and tvOS apps.
33

4-
#Usage
4+
##Usage
55

66
```swift
77
// Initialize Options
8-
let soundEffect = SoundEffect("sound", fileType: ".mp3", enableSound: true, enableLooping: true, defaultVolume: 0.5)
8+
let soundEffect = SoundEffect("sound", fileType: "mp3", enableSound: true, enableLooping: true, defaultVolume: 0.5)
99

10-
let soundEffect2 = SoundEffect("sound", fileType: ".mp3", enableSound: true, enableLooping: true, loopTotal: 20, defaultVolume: 1.0)
10+
let soundEffect2 = SoundEffect("sound", fileType: "mp3", enableSound: true, enableLooping: true, loopTotal: 20, defaultVolume: 1.0)
1111

12-
let soundEffect3 = SoundEffect("sound", fileType: ".mp3", enableSound: true, enableLooping: false)
12+
let soundEffect3 = SoundEffect("sound", fileType: "mp3", enableSound: true, enableLooping: false)
1313

14-
let soundEffect4 = SoundEffect("sound", fileType: ".mp3")
14+
let soundEffect4 = SoundEffect("sound", fileType: "mp3")
1515

1616
// Prepare to Play
1717
soundEffect.prepareToPlay()
@@ -39,25 +39,25 @@ soundEffect.setVolume(1.0) // Float 0.0-1.0
3939

4040
```
4141

42-
#Related Projects:
42+
##Related Projects:
4343

4444
###Example Swift Apps by Mark Hamilton, Dryverless
4545
Collection of example applications written in Swift / Objective-C for iOS 9.x (developed under 9.2.1 SDK - will be migrated to 9.3 when released)
4646
######https://github.com/TheDarkCode/Example-Swift-Apps
4747

48-
#Support:
48+
##Support:
4949

5050
#####Send any questions or requests to: [email protected]
5151

52-
# Contributing in 5 Easy Steps
52+
## Contributing
5353

5454
- 1) Fork this repository!
5555
- 2) Create your feature branch: ```git checkout -b Your-New-Feature```
5656
- 3) Commit your changes: ```git commit -am 'Adding some super awesome update'```
5757
- 4) Push to the branch: ```git push origin Your-New-Feature```
5858
- 5) Submit a pull request!
5959

60-
# License
60+
## License
6161
Copyright (c) 2016 Mark Hamilton / dryverless (http://www.dryverless.com)
6262

6363
Permission is hereby granted, free of charge, to any person obtaining a copy

0 commit comments

Comments
 (0)