fmod_audioplayer 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 94691a05e1652e4d769528e981df2313618ce1f1
4
- data.tar.gz: b025eb0aad96bc71fb5399c3c40f454eec76c9ca
3
+ metadata.gz: cc30bd40962d921aff1e8dba69f3dc6423b67541
4
+ data.tar.gz: 919c473ca85a09e57d242c004796fd184cb1adcd
5
5
  SHA512:
6
- metadata.gz: fab18021e9eda8a3cca97297bcc46a48f6925a6d7af224a559c688358fdc1068f0a8030b3052aacc720c3ea2ec77ff387a942a7981cbfe0e08f2ef02150f35e5
7
- data.tar.gz: 1b634c84e2da60cae9137f17ffc749e186d694f7f43b5418de0297f8aaed68f6b87d174ab1f0732530ff06c6d0b8af545059490ce4bf72d286275ab96d51767f
6
+ metadata.gz: ebe1fb25b1baacf31a8bf695baa5ee5267ab63cb05455131f7f300b3ef8f5a9a8818e48e0c35d34721176ed46b2663e5440810e45828cfa086f38edb0ca10272
7
+ data.tar.gz: 4cc5e0f881523c555352dc1c70e561c462fc13aeeb93ffc5d7692b1e848c07319e0e52e6530b4f3eb70fedd5133a437413b85473f03a621f379d91f6756dab04
data/README.md CHANGED
@@ -18,7 +18,17 @@ Or install it yourself as:
18
18
 
19
19
  ## Usage
20
20
 
21
- TODO: Write usage instructions here
21
+ ```ruby
22
+ require 'fmod_audioplayer'
23
+ sound = FMODAudioPlayer::SoundPlayer.new
24
+ sound.play('example.mp3')
25
+ sound.toggle
26
+ sound.toggle
27
+ sound.song_length
28
+ sound.position
29
+ sound.stop
30
+ sound.play('http://example.com/example.mp3')
31
+ ```
22
32
 
23
33
  ## Contributing
24
34
 
@@ -1,7 +1,7 @@
1
1
  #ifndef __FMOD_HANDLE_H__
2
2
  #define __FMOD_HANDLE_H__
3
3
 
4
- #include <ruby-2.1.0/ruby.h>
4
+ #include <ruby.h>
5
5
  #include <stdlib.h>
6
6
  #include <fmodex/fmod.h>
7
7
  #include <fmodex/fmod_errors.h>
@@ -1,5 +1,3 @@
1
- #include <ruby-2.1.0/ruby.h>
2
- #include <ruby-2.1.0/ruby/intern.h>
3
1
  #include "fmod_handle.h"
4
2
 
5
3
  VALUE rb_mFMODAudioPlayer;
@@ -1,3 +1,3 @@
1
1
  module FMODAudioPlayer
2
- VERSION = "0.0.1"
2
+ VERSION = '0.0.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fmod_audioplayer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Edgar Wang