fmod 0.9.2 → 0.9.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +2 -0
- data/HISTORY.txt +5 -0
- data/README.md +5 -5
- data/fmod.gemspec +3 -2
- data/lib/fmod.rb +1 -4
- data/lib/fmod/dsp.rb +4 -1
- data/lib/fmod/version.rb +1 -1
- metadata +8 -13
- data/ext/fmod.dll +0 -0
- data/ext/fmod64.dll +0 -0
- data/ext/libfmod.dylib +0 -0
- data/ext/llbfmod.zip +0 -0
- data/extras/FMOD Studio Programmers API for Windows.chm +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c3e994158713789e602be04827220a71950f223e
|
4
|
+
data.tar.gz: 9dc84787e8ffdf001ec56ab1a29b1a63e49b8273
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 800393a0bdfd6644f270c2583cae3d6a7a03415a64fd1ea633cbb8f3f079af38970b77f9aee8fcfd6da5255595874fc93cb759e2962b7c88a85735bf189a3765
|
7
|
+
data.tar.gz: cc6df7c1cc2784609cda82515be843474e6ce9bbff46429cacdfe4ec2864a721e821e50d62683ba1be5643cf6af2b131d01d18b3052cb8e0ef27a0755e869c48
|
data/.gitignore
CHANGED
data/HISTORY.txt
CHANGED
data/README.md
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
[![Gem Version](https://badge.fury.io/rb/fmod.svg)](https://badge.fury.io/rb/fmod) ![Documentation](https://img.shields.io/badge/Documentation-99.22%25-green.svg)
|
4
4
|
|
5
5
|
|
6
|
-
A full-featured
|
6
|
+
A full-featured and complete Ruby wrapper of the ultra-powerful FMOD Low-Level API. Uses the built-in Fiddle library (Ruby 2.0+) to eliminate unnecessary external gem dependencies, all that is needed is the native FMOD platform-specific native FMOD libraries.
|
7
7
|
|
8
8
|
Supports a host of audio formats including:
|
9
9
|
* Audio Interchange File Format (.aiff )
|
@@ -47,16 +47,16 @@ And then execute:
|
|
47
47
|
Or install it yourself as:
|
48
48
|
|
49
49
|
$ gem install fmod
|
50
|
-
|
51
|
-
|
50
|
+
|
51
|
+
As of version 0.9.3, the external dependencies are no longer bundled with the gem, but are readily available [here](https://github.com/ForeverZer0/fmod/tree/master/ext) (these are the versions the gem was built against). Alternatively, you may download the external libraries directly from the [FMOD website](https://www.fmod.com/download) (free registration required). Place the platform-specific binaries within the working directory, or in directory of your choice and use `FMOD.load_library` to initialize the gem.
|
52
52
|
|
53
53
|
## Usage
|
54
54
|
|
55
|
-
Including in the `/extras` folder is the compiled help documentation for the actual FMOD library, which can be helpful for understanding how the API works if you are unfamiliar.
|
55
|
+
Including in the `/extras` folder (no longer bundled with the gem as of version `0.9.3`, but found [here on GitHub](https://github.com/ForeverZer0/fmod/tree/master/extras)) is the compiled help documentation for the actual FMOD library, which can be helpful for understanding how the API works if you are unfamiliar.
|
56
56
|
|
57
57
|
Those who are familiar with FMOD will find the structure and syntax familiar, though performed in the object-oriented "Ruby" way. All base core FMOD data types have been created as classes, and mostly share the same names with their C counterpart though in Ruby "snake_case" style as opposed to "UpperCamelCase". Being object-oriented each class is wrapped around using the functions that relate to it, and doesn't require the use of passing pointers or the object to the methods.
|
58
58
|
|
59
|
-
So creating and working with objects has been
|
59
|
+
So creating and working with objects has been simplified..
|
60
60
|
|
61
61
|
```ruby
|
62
62
|
require 'fmod'
|
data/fmod.gemspec
CHANGED
@@ -9,14 +9,15 @@ Gem::Specification.new do |spec|
|
|
9
9
|
spec.authors = ['Eric "ForeverZer0" Freed']
|
10
10
|
spec.email = ['efreed09@gmail.com']
|
11
11
|
spec.summary = %q{Ruby wrapper around the high performance, cross-platform FMOD low-level sound library. You get all the benefits of the FMOD library, but in the object-oriented Ruby way!}
|
12
|
-
spec.description = %q{A full-featured
|
12
|
+
spec.description = %q{A full-featured and complete Ruby wrapper of the ultra-powerful FMOD Low-Level API. Uses the built-in Fiddle library (Ruby 2.0+) to eliminate unnecessary external gem dependencies, all that is needed is the FMOD platform-specific libraries (included). FMOD supports a host of audio formats including .aiff, .asf, .asx, .dls, .flac, .fsb, .it, .m3u, .mid, .midi, .mod, .mp2, .mp3, .ogg .pls, .s3m , vag, .wav, .wax, .wma, .xm, and .xma.}
|
13
13
|
spec.homepage = 'https://github.com/ForeverZer0/fmod'
|
14
14
|
spec.license = 'MIT'
|
15
15
|
spec.has_rdoc = 'yard'
|
16
16
|
|
17
17
|
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
|
18
|
-
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
18
|
+
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features|extras|ext)/}) }
|
19
19
|
end
|
20
|
+
puts spec.files
|
20
21
|
spec.bindir = 'exe'
|
21
22
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
22
23
|
spec.require_paths = ['lib']
|
data/lib/fmod.rb
CHANGED
@@ -476,10 +476,7 @@ module FMOD
|
|
476
476
|
else 'fmod' # Will probably fail...
|
477
477
|
end
|
478
478
|
end
|
479
|
-
|
480
|
-
gem_directory = File.dirname(File.dirname(__FILE__))
|
481
|
-
directory = File.join(gem_directory, 'ext')
|
482
|
-
end
|
479
|
+
directory ||= Dir.getwd
|
483
480
|
library = File.join(directory, library)
|
484
481
|
lib = Fiddle.dlopen(File.expand_path(library))
|
485
482
|
import_symbols(lib)
|
data/lib/fmod/dsp.rb
CHANGED
data/lib/fmod/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fmod
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric "ForeverZer0" Freed
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-07-
|
11
|
+
date: 2018-07-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -52,12 +52,12 @@ dependencies:
|
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0.9'
|
55
|
-
description: A full-featured
|
56
|
-
API. Uses the built-in Fiddle library (Ruby 2.0+)
|
57
|
-
all that is needed is the FMOD platform-specific libraries
|
58
|
-
a host of audio formats including .aiff, .asf, .asx, .dls,
|
59
|
-
.mid, .midi, .mod, .mp2, .mp3, .ogg .pls, .s3m , vag, .wav,
|
60
|
-
.xma.
|
55
|
+
description: A full-featured and complete Ruby wrapper of the ultra-powerful FMOD
|
56
|
+
Low-Level API. Uses the built-in Fiddle library (Ruby 2.0+) to eliminate unnecessary
|
57
|
+
external gem dependencies, all that is needed is the FMOD platform-specific libraries
|
58
|
+
(included). FMOD supports a host of audio formats including .aiff, .asf, .asx, .dls,
|
59
|
+
.flac, .fsb, .it, .m3u, .mid, .midi, .mod, .mp2, .mp3, .ogg .pls, .s3m , vag, .wav,
|
60
|
+
.wax, .wma, .xm, and .xma.
|
61
61
|
email:
|
62
62
|
- efreed09@gmail.com
|
63
63
|
executables: []
|
@@ -79,11 +79,6 @@ files:
|
|
79
79
|
- Rakefile
|
80
80
|
- bin/console
|
81
81
|
- bin/setup
|
82
|
-
- ext/fmod.dll
|
83
|
-
- ext/fmod64.dll
|
84
|
-
- ext/libfmod.dylib
|
85
|
-
- ext/llbfmod.zip
|
86
|
-
- extras/FMOD Studio Programmers API for Windows.chm
|
87
82
|
- fmod.gemspec
|
88
83
|
- lib/fmod.rb
|
89
84
|
- lib/fmod/channel.rb
|
data/ext/fmod.dll
DELETED
Binary file
|
data/ext/fmod64.dll
DELETED
Binary file
|
data/ext/libfmod.dylib
DELETED
Binary file
|
data/ext/llbfmod.zip
DELETED
Binary file
|
Binary file
|