Latest 0.0.1
Homepage https://github.com/OrzGeeker/OrzFMod
License Apache License, Version 2.0
Platforms ios 9.0
Frameworks UIKit, AudioToolbox, AVFoundation
Authors

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

Latest podspec

{
    "name": "OrzFMod",
    "version": "0.0.1",
    "summary": "A Swift Capsule of FMod Audio Framework.",
    "description": "Use this Framework to power a Keygen Music Player",
    "homepage": "https://github.com/OrzGeeker/OrzFMod",
    "license": {
        "type": "Apache License, Version 2.0",
        "file": "LICENSE"
    },
    "authors": {
        "wangzhizhou": "[email protected]"
    },
    "social_media_url": "https://github.com/wangzhizhou",
    "platforms": {
        "ios": "9.0"
    },
    "source": {
        "git": "https://github.com/OrzGeeker/OrzFMod.git",
        "tag": "0.0.1"
    },
    "source_files": "OrzFMod/**/*.{h,hpp,m,mm}",
    "public_header_files": [
        "OrzFMod/OrzFMod.h",
        "OrzFMod/FModCapsule/FModCapsule.h"
    ],
    "resources": "OrzFMod/**/*.{png,xm}",
    "frameworks": [
        "UIKit",
        "AudioToolbox",
        "AVFoundation"
    ],
    "vendored_libraries": "OrzFMod/**/*.{a}"
}

Pin It on Pinterest

Share This