audio_stream 1.2.1 → 1.2.2

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
  SHA256:
3
- metadata.gz: eaba574b0b75b16fe48a07159e6b77c29644d7e8ce08712104fbe469e00ffcd9
4
- data.tar.gz: 8b8a654df8fa9cef8d2889fdf4655e8f537bdf86d7a59861f5d08036dfbfe697
3
+ metadata.gz: 450d5f725255284de3f97fa089d98a34603cee45b7cdfe1145f35925f87ecd6d
4
+ data.tar.gz: 285d5688d7f1b87644f613e9339bd0fccd38b20f1321cce00b5ba46bfe4709a4
5
5
  SHA512:
6
- metadata.gz: 2702247a2aa77b427b1f6f03330bca380221349d02dbd26b915fb50c65897d9ec373a05519de94866e191e6e1578253bfef11c4b4b0daf3299ab1119ea3f0cba
7
- data.tar.gz: 5d4feabfe83d1b3616c60ae2a44ca05dbb5bff166c8078b87b27f6fa950c70fa41675328710dc2930c6c9f1eadef5742aa155f04367688a169741022e96c9bb9
6
+ metadata.gz: 6a836a10b9a92aaf6b91d2c4c8ca93a2d669d579f41ad1f6431357f789fadc161747fd15532c7d17c96ffd8d84211abbd4ab0fca87af92f8b99d07eed07125a7
7
+ data.tar.gz: caa08fc1765ad8aa22ea177ea50231b2775ecbf43563b798f8617930e6ce30601a0c2a783b2cd2632d4df1844a43d0d1c8854f469968c825c4edf533b6793874
@@ -48,12 +48,12 @@ module AudioStream
48
48
  end
49
49
 
50
50
  def self.default_device(soundinfo:)
51
- dev = CoreAudio.default_output_device
51
+ dev = CoreAudio.default_output_device({nominal_rate: soundinfo.samplerate})
52
52
  new(dev, soundinfo: soundinfo)
53
53
  end
54
54
 
55
55
  def self.devices(soundinfo:)
56
- CoreAudio.devices
56
+ CoreAudio.devices({nominal_rate: soundinfo.samplerate})
57
57
  .select{|dev|
58
58
  0<dev.output_stream.channels
59
59
  }
@@ -1,3 +1,3 @@
1
1
  module AudioStream
2
- VERSION = "1.2.1"
2
+ VERSION = "1.2.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: audio_stream
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yoshida Tetsuya