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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ab0b3cff45deeb4271467582cab4249c7841e315
4
- data.tar.gz: d087b00bd2bfecea2864e9eddb927104ce5ffe96
3
+ metadata.gz: c3e994158713789e602be04827220a71950f223e
4
+ data.tar.gz: 9dc84787e8ffdf001ec56ab1a29b1a63e49b8273
5
5
  SHA512:
6
- metadata.gz: 7dbef60ec374a31a856f152ba889c61c508888556c7219aafd1eb3c851f88753e59b195aa3a6a1eb50ce038d69c5f3e946aee66e94942e21f7ca9771ab1e67ae
7
- data.tar.gz: bac72c7849c3cd063f5260c05fe771ac0a6e078279c4cf9a71f200f4fc6bdce68fd0f6d8beaca54b88ce011962a6d40b4ec83cedd8aa6a1735f743945651a0c0
6
+ metadata.gz: 800393a0bdfd6644f270c2583cae3d6a7a03415a64fd1ea633cbb8f3f079af38970b77f9aee8fcfd6da5255595874fc93cb759e2962b7c88a85735bf189a3765
7
+ data.tar.gz: cc6df7c1cc2784609cda82515be843474e6ce9bbff46429cacdfe4ec2864a721e821e50d62683ba1be5643cf6af2b131d01d18b3052cb8e0ef27a0755e869c48
data/.gitignore CHANGED
@@ -7,6 +7,8 @@
7
7
  /spec/reports/
8
8
  /tmp/
9
9
  /.idea
10
+ /extras/*.*
11
+ /ext/*.*
10
12
 
11
13
  /**/*.mp3
12
14
 
@@ -1,3 +1,8 @@
1
+ === 0.9.3 / 2018/07/12
2
+
3
+ * Removed external libraries from gem file
4
+ * Removed FMOD compiled help file from gem file
5
+
1
6
  === 0.9.2 / 2018/07/11
2
7
 
3
8
  * Added ReverbIndex class
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 (*complete* Ruby wrapper) of the ultra-powerful FMOD Low-Level API. Uses the built-in Fiddle library (Ruby 2.0+), and has no external gem dependencies, all that is needed is the native FMOD platform-specific native FMOD libraries.
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
- The dependent binaries will be loaded automatically on Windows and Mac without further action, and are included within the gem. Linux user will need to locate the `./ext` directory within the gem file and extract `libfmod.zip` into the `./ext` directory. Due to symbolic linking, this process needs done on the host machine, and will hopefully be automated in future releases.
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 simplied..
59
+ So creating and working with objects has been simplified..
60
60
 
61
61
  ```ruby
62
62
  require 'fmod'
@@ -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 (complete Ruby wrapper) of the ultra-powerful FMOD Low-Level API. Uses the built-in Fiddle library (Ruby 2.0+), and has no 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.}
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']
@@ -476,10 +476,7 @@ module FMOD
476
476
  else 'fmod' # Will probably fail...
477
477
  end
478
478
  end
479
- if directory.nil?
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)
@@ -1,6 +1,9 @@
1
- module FMOD
2
1
 
3
2
 
3
+
4
+
5
+ module FMOD
6
+
4
7
  ##
5
8
  # Represents a digital signal processor. This allows for monitoring and
6
9
  # applying effects to the sound in real-time.
@@ -2,5 +2,5 @@ module FMOD
2
2
 
3
3
  ##
4
4
  # The FMOD gem version.
5
- VERSION = "0.9.2"
5
+ VERSION = "0.9.3"
6
6
  end
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.2
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 00:00:00.000000000 Z
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 (complete Ruby wrapper) of the ultra-powerful FMOD Low-Level
56
- API. Uses the built-in Fiddle library (Ruby 2.0+), and has no external gem dependencies,
57
- all that is needed is the FMOD platform-specific libraries (included). FMOD supports
58
- a host of audio formats including .aiff, .asf, .asx, .dls, .flac, .fsb, .it, .m3u,
59
- .mid, .midi, .mod, .mp2, .mp3, .ogg .pls, .s3m , vag, .wav, .wax, .wma, .xm, and
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
Binary file
Binary file
Binary file
Binary file