alsa_aconnect 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -1
- data/lib/alsa/aconnect.rb +4 -4
- data/lib/alsa/aconnect/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: 275d59e874cb491657df6c74926c4ebc806b21d3d8ae827a48cea410e6cd2c3f
|
4
|
+
data.tar.gz: cb9cb058ce0e86e6359eb6c4b8f9411ff8c904ee68ace706fd523538bf6bfb37
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 81e6394325a1d7ac7867942b0f03a118cb987e4d7c1a836ad74cebdf4363305f1ab5acc1af46a4fad259c030e9f20bc9be33c22c978c4001ff18e8e0624f808e
|
7
|
+
data.tar.gz: c629519f0baba38ba006b571474b98d624208b9e37d760d39bd7b6fd835107a7b69ea7c64b3395c5780bce2b4b5bf26f364bfe0fdd581848f82bd11a10a05999
|
data/CHANGELOG.md
CHANGED
data/lib/alsa/aconnect.rb
CHANGED
@@ -31,15 +31,15 @@ module ALSA
|
|
31
31
|
end
|
32
32
|
|
33
33
|
def connect(input, output)
|
34
|
-
input = "#{input.
|
35
|
-
output = "#{output.
|
34
|
+
input = "#{input.client.id}:#{input.id}" if input.is_a?(Port)
|
35
|
+
output = "#{output.client.id}:#{output.id}" if output.is_a?(Port)
|
36
36
|
|
37
37
|
Cmd.run('-d', input, output)
|
38
38
|
end
|
39
39
|
|
40
40
|
def disconnect(input, output)
|
41
|
-
input = "#{input.
|
42
|
-
output = "#{output.
|
41
|
+
input = "#{input.client.id}:#{input.id}" if input.is_a?(Port)
|
42
|
+
output = "#{output.client.id}:#{output.id}" if output.is_a?(Port)
|
43
43
|
|
44
44
|
Cmd.run(input, output)
|
45
45
|
end
|