opus-ruby 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/opus-ruby/decoder.rb +1 -1
- data/lib/opus-ruby/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 789cff90dd3766d127dfd8da1cb3b7385164e085
|
4
|
+
data.tar.gz: 8f7df710151a5a467baefe1a72bbf1d745443afe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ec727c73460ea1b4b43987c126d7ea0b385d533f02fc41a14cdb49605ebde31872517f8dc458189b2ff50e9918d468dbc2ca9de1e306e811c4ccd7904c6ba28e
|
7
|
+
data.tar.gz: b5a26dcce32dd507b9be309f36c1413355874234627d437f82250930765a9a9d3dee7286571937b8b7fcd8a96ca9e86efe0d179c28f6881c73c9f31c6e24538a
|
data/lib/opus-ruby/decoder.rb
CHANGED
@@ -52,7 +52,7 @@ module Opus
|
|
52
52
|
packet = FFI::MemoryPointer.new :char, len + 1
|
53
53
|
packet.put_string 0, data
|
54
54
|
|
55
|
-
max_size = @frame_size * @channels
|
55
|
+
max_size = @frame_size * @channels * 2 # Was getting buffer_too_small errors without the 2
|
56
56
|
|
57
57
|
decoded = FFI::MemoryPointer.new :short, max_size + 1
|
58
58
|
|
data/lib/opus-ruby/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opus-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matthew Perry
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-07-
|
11
|
+
date: 2014-07-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|