ao 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/audio/output.c +2 -2
- data/lib/audio/output.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 453cbe5045fb3355237c6ac508bb22f7945035fae1c068ddc370beecb2d282d0
|
4
|
+
data.tar.gz: 9a3385722ad42cc9007157cd6ca4305c37b7692ce2d0b26da9dd5deacdc4da90
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1bf39b9ab09d450dff5c79dd57f7a934c3218700dddf38474b05c099637cd9c52a8180b509464fe179353d70839865154adecd030bf848b92ca2b7f5e64af834
|
7
|
+
data.tar.gz: 213ab51a9dede88944bf1629307c752a6ee3aba29e7c6a875b5e7342ae3d2937bf4763bf5eb80a5b5db7f7f62f39640cf63d9efb71abf33a881981d794fe7041
|
data/ext/audio/output.c
CHANGED
@@ -85,7 +85,7 @@ Init_outputc(void)
|
|
85
85
|
cAO_DeviceData = rb_define_class_under(cAO_Live, "DeviceData", rb_cData);
|
86
86
|
|
87
87
|
/* library initialize & shutdown */
|
88
|
-
rb_define_private_method(cAO_Live, "initialize", rao_open_live,
|
88
|
+
rb_define_private_method(cAO_Live, "initialize", rao_open_live, 8);
|
89
89
|
|
90
90
|
/* device setup */
|
91
91
|
rb_define_method(cAO_Live, "close", rao_close, 0);
|
@@ -100,7 +100,7 @@ Init_outputc(void)
|
|
100
100
|
* オーディオファイル出力機能をサポートするクラス。
|
101
101
|
*/
|
102
102
|
cAO_File = rb_define_class_under(cAudio, "FileOutputC", cAO_Live);
|
103
|
-
rb_define_private_method(cAO_File, "initialize", rao_open_file,
|
103
|
+
rb_define_private_method(cAO_File, "initialize", rao_open_file, 10);
|
104
104
|
|
105
105
|
init_exception();
|
106
106
|
init_info();
|
data/lib/audio/output.rb
CHANGED
@@ -11,7 +11,7 @@ class Audio::LiveOutput < Audio::LiveOutputC
|
|
11
11
|
Audio::Info::FMT_NATIVE,
|
12
12
|
matrix: nil, options: nil, thread: nil)
|
13
13
|
ao = super(driver_id, bits, rate, channels,
|
14
|
-
byte_format, matrix, options)
|
14
|
+
byte_format, matrix, options, thread)
|
15
15
|
if block_given?
|
16
16
|
begin
|
17
17
|
yield ao
|
@@ -33,7 +33,7 @@ class Audio::FileOutput < Audio::FileOutputC
|
|
33
33
|
matrix: nil, options: nil, thread: nil)
|
34
34
|
ao = super(driver_id, filename, overwrite,
|
35
35
|
bits, rate, channels, byte_format,
|
36
|
-
matrix, options)
|
36
|
+
matrix, options, thread)
|
37
37
|
if block_given?
|
38
38
|
begin
|
39
39
|
yield ao
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ao
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Akito Miura
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-01-
|
11
|
+
date: 2018-01-18 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: simple & cross platform audio output library(libao binding http://http://xiph.org/ao/)
|
14
14
|
email: phenomer@g.hachune.net
|