fmod-ruby 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +2 -1
- data/lib/fmod/functions.rb +1 -1
- data/lib/fmod/version.rb +1 -1
- metadata +5 -5
data/README.md
CHANGED
@@ -33,7 +33,8 @@ No formal test suite yet. However, the +examples/+ directory includes several e
|
|
33
33
|
History
|
34
34
|
=======
|
35
35
|
|
36
|
-
* release 0.3.
|
36
|
+
* release 0.3.1 - cleaned up exception message
|
37
|
+
* release 0.3.0 - added FMOD::Error, more detailed error reporting in exception message
|
37
38
|
* release 0.2.0 - added Convert.samples_to_ms
|
38
39
|
* release 0.1.1 - added Channel#set_volume, Sound#release
|
39
40
|
* release 0.1.0 - added keyword options to System#initialize and whatnot to support offline wav creation (examples write.rb and contact.rb)
|
data/lib/fmod/functions.rb
CHANGED
@@ -97,7 +97,7 @@ module FMOD
|
|
97
97
|
|
98
98
|
def error_check(msg, *args)
|
99
99
|
if (result = send msg, *args) != :FMOD_OK
|
100
|
-
raise FMOD::Error, "
|
100
|
+
raise FMOD::Error, "#{result}: #{msg}(#{args.map{|arg| arg.respond_to?(:address) ? "0x%x" % arg.address : arg.inspect}.join(', ')})"
|
101
101
|
end
|
102
102
|
end
|
103
103
|
end
|
data/lib/fmod/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fmod-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2012-01-25 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: ffi
|
16
|
-
requirement: &
|
16
|
+
requirement: &70325624010400 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70325624010400
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: hash_keyword_args
|
27
|
-
requirement: &
|
27
|
+
requirement: &70325624008280 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,7 +32,7 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70325624008280
|
36
36
|
description: Wrapper for the FMOD audio library
|
37
37
|
email:
|
38
38
|
- ronen@barzel.org
|