Latest 1.0.0
Homepage https://github.com/tiancanfei/JLBAudioTool
License MIT
Platforms ios 7.0, requires ARC
Frameworks UIKit, AVFoundation
Authors

iOS的音频播放

使用方法:

/*
播放音效
urlString:音效路径
soundIDName:音效缓存key
/

  • (void)playAudioWithUrl:(NSString )urlString soundIDName:(NSString )soundIDName;

/*
播放bound中的音效
name:音效名称
/

  • (void)playMainBoundAudioWithName:(NSString *)name;

/*
播放沙盒document中的音效
name:音效名称
/

  • (void)playDocumnetAudioWithName:(NSString *)name;

/*
播放系统声音
soundID:声音id
系统声音id:http://iphonedevwiki.net/index.php/AudioServices
/

  • (void)playSystemAudioWithBound:(UInt32)soundID;

Latest podspec

{
    "name": "ADAudioTool",
    "version": "1.0.0",
    "summary": "u97f3u9891u64adu653e",
    "description": "iOSu7684u97f3u9891u64adu653e",
    "homepage": "https://github.com/tiancanfei/JLBAudioTool",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "u5b89u5fb7u822a": "[email protected]"
    },
    "platforms": {
        "ios": "7.0"
    },
    "source": {
        "git": "https://github.com/tiancanfei/JLBAudioTool.git",
        "tag": "1.0.0"
    },
    "source_files": "ADAudioTool/*.{h,m}",
    "public_header_files": "ADAudioTool/*.h",
    "frameworks": [
        "UIKit",
        "AVFoundation"
    ],
    "requires_arc": true
}

Pin It on Pinterest

Share This