Files
SwiftAudioEx/Example/Tests/Source/Source.swift
T
Jørgen Henrichsen 8b1e57b3c0 Added a Source file for test audio.
Contains the test audio file path, used in all tests.
2018-08-05 10:32:30 +02:00

19 lines
425 B
Swift

//
// Sources.swift
// SwiftAudio_Tests
//
// Created by Jørgen Henrichsen on 05/08/2018.
// Copyright © 2018 CocoaPods. All rights reserved.
//
import Foundation
import SwiftAudio
struct Source {
static let path: String = Bundle.main.path(forResource: "WAV-MP3", ofType: "wav")!
static func getAudioItem() -> AudioItem {
return DefaultAudioItem(audioUrl: Source.path, sourceType: .file)
}
}