Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Spring/SoundPlayer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
import UIKit
import AudioToolbox

struct SoundPlayer {
public struct SoundPlayer {

static var filename : String?
static var enabled : Bool = true
Expand All @@ -32,7 +32,7 @@ struct SoundPlayer {
static var cache = [URL:SystemSoundID]()
}

static func playSound(soundFile: String) {
public static func playSound(soundFile: String) {

if !enabled {
return
Expand Down