Skip to content

siliconprime-manhnguyen/FMod

 
 

Repository files navigation

OrzFMod

A Swift Capsule of FMod Audio Framework

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

Usage

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

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

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"))
    }
}

About

A Swift Capsule of FMod Audio Framework

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 65.9%
  • C++ 26.4%
  • Objective-C++ 5.1%
  • Swift 1.8%
  • Other 0.8%