Skip to content
/ FMod Public
forked from OrzGeeker/OrzFMod

A Swift Capsule of FMod Audio Framework

License

Notifications You must be signed in to change notification settings

serbuk/FMod

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OrzFMod

A Swift Capsule of FMod Audio Framework

FMod Offical Site: https://www.fmod.com

Usage

CocoaPods

In you Podfile, add my private podspec repo OrzGeeker, and use my pods

source 'https://github.com/OrzGeeker/Specs.git'
pod 'OrzFMod'

Swift Package Manager

.package(url: "https://github.com/OrzGeeker/OrzFMod.git", .branch("master"))

Now you can use my FMod Swift Capsule!

Example for play a test.xm music file

import UIKit
import OrzFMod

class ViewController: UIViewController {
  
    var player = FModCapsule()
    
    override func viewDidLoad() {
        super.viewDidLoad()
        // Do any additional setup after loading the view, typically from a nib.
        
        let FModResBundle = Bundle(for: FModCapsule.self);
        player.playStream(withFilePath: FModResBundle.path(forResource: "test", ofType: "xm"))
    }
}

Mod音乐文件下载地址: KeyGen Music

About

A Swift Capsule of FMod Audio Framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 69.6%
  • C++ 17.1%
  • Swift 6.8%
  • Objective-C++ 5.0%
  • Ruby 0.6%
  • Shell 0.5%
  • Objective-C 0.4%