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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 05a41f5c8b2fa5418aede1cc8206cd6e32c192a6
4
- data.tar.gz: 0299fc8e0f5097db6ee8d7c0c889c455db813643
3
+ metadata.gz: 789cff90dd3766d127dfd8da1cb3b7385164e085
4
+ data.tar.gz: 8f7df710151a5a467baefe1a72bbf1d745443afe
5
5
  SHA512:
6
- metadata.gz: 27d930f5bfe44ae0eedffe938f33c0ea1cec45a5522b057f06fa7a79b8a084cf75f4db0d8e547af5c1d36acf668ba0d984e1e72518000f9b7e14c07704d71c3b
7
- data.tar.gz: 90e9cf26bafe6deefeee080653a2c36b416a79d4a8c247448dfcf43aac4f058b6f3e54c04136a0d72f1201e92cd112e811a2e70af2bea596acf04f8d67c16188
6
+ metadata.gz: ec727c73460ea1b4b43987c126d7ea0b385d533f02fc41a14cdb49605ebde31872517f8dc458189b2ff50e9918d468dbc2ca9de1e306e811c4ccd7904c6ba28e
7
+ data.tar.gz: b5a26dcce32dd507b9be309f36c1413355874234627d437f82250930765a9a9d3dee7286571937b8b7fcd8a96ca9e86efe0d179c28f6881c73c9f31c6e24538a
@@ -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
 
@@ -1,3 +1,3 @@
1
1
  module Opus
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
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.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-12 00:00:00.000000000 Z
11
+ date: 2014-07-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler