[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] /srv/bzr/gnash/trunk r11290: fixed problem with detecting
From: |
Ben Limmer |
Subject: |
[Gnash-commit] /srv/bzr/gnash/trunk r11290: fixed problem with detecting microphone monitors as sources |
Date: |
Mon, 20 Jul 2009 16:05:15 -0600 |
User-agent: |
Bazaar (1.13.1) |
------------------------------------------------------------
revno: 11290
committer: Ben Limmer <address@hidden>
branch nick: trunk
timestamp: Mon 2009-07-20 16:05:15 -0600
message:
fixed problem with detecting microphone monitors as sources
modified:
utilities/findmicrophones.cpp
=== modified file 'utilities/findmicrophones.cpp'
--- a/utilities/findmicrophones.cpp 2009-07-20 21:10:47 +0000
+++ b/utilities/findmicrophones.cpp 2009-07-20 22:05:15 +0000
@@ -78,7 +78,7 @@
gst_element_set_state (element, GST_STATE_PLAYING);
g_object_get (element, "device-name", &dev_name, NULL);
gst_element_set_state (element, GST_STATE_NULL);
- if (dev_name == "null") {
+ if (dev_name == "null" || (strstr(dev_name, "Monitor") != NULL)) {
g_print("no pulse audio sources found\n");
}
else {
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] /srv/bzr/gnash/trunk r11290: fixed problem with detecting microphone monitors as sources,
Ben Limmer <=