hallon-fifo 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.
- data/README.md +2 -3
- data/hallon-fifo.gemspec +2 -0
- data/lib/hallon-fifo/fifo.rb +2 -0
- data/lib/hallon-fifo/version.rb +2 -2
- metadata +19 -4
data/README.md
CHANGED
@@ -20,14 +20,13 @@ Or install it yourself as:
|
|
20
20
|
|
21
21
|
## Usage
|
22
22
|
|
23
|
-
Initialize a Hallon player with the FIFO driver. Pass a `&block` as the second argument to set the FIFO queue's path
|
23
|
+
Initialize a Hallon player with the FIFO driver. Pass a `&block` as the second argument to set the FIFO queue's path (or accept the default `hallon-fifo.pcm`):
|
24
24
|
|
25
25
|
```ruby
|
26
26
|
# After loading Hallon and creating a session...
|
27
27
|
|
28
28
|
player = Hallon::Player.new Hallon::FIFO, Proc.new do
|
29
|
-
@driver.output = "
|
30
|
-
@driver.format = {:rate => 44100, :channels => 2, :type => :int16}
|
29
|
+
@driver.output = "cat-music.pcm"
|
31
30
|
end
|
32
31
|
```
|
33
32
|
|
data/hallon-fifo.gemspec
CHANGED
data/lib/hallon-fifo/fifo.rb
CHANGED
data/lib/hallon-fifo/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hallon-fifo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,8 +9,24 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
13
|
-
dependencies:
|
12
|
+
date: 2013-04-02 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: mkfifo
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0'
|
14
30
|
description: An audio driver for Hallon, a ruby client for the official Spotify API.
|
15
31
|
Streams audio into a raw PCM-formatted FIFO queue, ideal for input into other applications.
|
16
32
|
email:
|
@@ -53,4 +69,3 @@ signing_key:
|
|
53
69
|
specification_version: 3
|
54
70
|
summary: Stream Spotify through Hallon to a FIFO queue.
|
55
71
|
test_files: []
|
56
|
-
has_rdoc:
|