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 +4 -4
- data/lib/audio_stream/audio_output_device.rb +2 -2
- data/lib/audio_stream/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 450d5f725255284de3f97fa089d98a34603cee45b7cdfe1145f35925f87ecd6d
|
4
|
+
data.tar.gz: 285d5688d7f1b87644f613e9339bd0fccd38b20f1321cce00b5ba46bfe4709a4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
}
|
data/lib/audio_stream/version.rb
CHANGED